Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 12 pages
Exam (elaborations)

ML4T Final Prep ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS

Document preview thumbnail
Preview 2 out of 12 pages

ML4T Final Prep ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS

Content preview

ML4T Final Prep ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS

ML Optimizer and Parameterized model -Find minimum values of functions - build parameterized models based on data.
Optimizer marches down (gradient descent) graph to find a minimum


Import scipy.optimize as spo
spo.minimize(f, xguess, method='SLSQP, options={'disp':True



Minimizer finds coefficients C0, C1, ...etc...


f(x) = mx + b
f(x) = C0*X + C1


-


Steps to Optimize a Portfolio 1) provide a function f(x) to minimize ( ie... f(x) is negative SR)
2) Provide an initial guess for x ( where x is allocations)
3) Call the optimizer


Supervised vs Unsupervised we show the machine many examples of X and Y - which is how it learns to predict


Unsupervised - only inputs


Regression vs Classification Regression - try to make numerical prediction


Classification - classifying into one or several types

, Linear regression (parametric learning) finds parameters for a model. Take data to get parameters and then throw away
data


Problems:
-noisy and uncertain - value to be found - but it has to be accumulated over many
trading opportunities


-challenging to estimate confidence


-holding time/allocation is uncertain


-RL policy learning is better




LinReg Overfitting where d (degree) varies -as we increase d we are more likely to overfit (x^3 we get that extra curl vs just
x^2)


K Nearest Neighbor (KNN / instance based) keep historical X,Y pair data - when we want to make prediction we use the data


-use mean of y values from k nearest neighbors




KNN where K varies - when does it overfit? - k=n : we get a flatline
- k=1 - tag each individual point and more likely to overfit


as k increases we are less likely to overfit




Kernel Regression weight contributions of each of the nearest neighbors depending on how distant
they are . This is instance based and just an alternate to KNN


Decision trees Query comes in and bounces down tree - each node of the tree represents a
yes/no question. We finally reach a leaf which is the regression value returned


Decision forests - lots of decision trees together - query each one to get an
overall results

Document information

Uploaded on
June 3, 2026
Number of pages
12
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$16.89

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Briwisescore
3.0
(1)
Sold
28
Followers
5
Items
14456
Last sold
2 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions