Docsity

Machine learning exam summary - 2022/2023, Study notes of Machine Learning

Toggle sidebar
bg1
3-4 exp rule;FLIP IF <;Random search + simulated annealing:;Ran 找 + sim. ann: discrete + cont space
AUC Only for classification;Measure rank perfor.;1 num outcome: ROC-AUC, PC-AUC
Red bias: incr model cap, Inc feat + boosting; Red var: Red model cap, add regularization, red 3 depth
;Generalization err: overfit indicator
LOGLIKELIHO.Smoother log landscape for GD methods; Symbolically easier to manipulate; PROBAB.
CLASS. (PC);PC = rank class -> ROC curve
generative class+When disc class+ DS large, complex dec bound+When gen class+ limited data
(1)Learns distributions on feature space,(2)Dist(1) combined with Bayes'r -> class probs
Bayes CLearns single dis. P(X|Y); Model P(X|Y): (1)Sep. data by class (2)Fit prob dist. Each subsetNaïve B
C-Assumes cond. Indep. Feat.-Simple,cheap
Generative classifier When disc class+ DS large, complex dec bound;When gen class+ limited data
GENERAL
Magnitude = steepness; Pop. Method: parallel, slow for complex models, hard to tune; Least-squared
loss NOT for classification; Loss func.: eval, weighting, regularization(penalizing complexity)
High bias = underfitting; High var = overfitting; Cost imbalance : !accuracy; Freq = stats; Bayes =
subjective; Prefix-freecode long = low prob of a result;
CROSS ENTROPY (LOG)LOSS; If class prob: cross entropy(log-loss = trash); Why Min. descr. Length princ.:
(1)Solves over/underfit, (2)Pick model shortest compr.
2partcoding: effic. Compression; number/parameters takes space; XOR-issue: lin-class useless bc of data,
use non-lin-class; Mult.var.N(0,1): acquired after standi,whiten.;INCL ACTV FUNC. = NON-LIN.
REGR. MODEL = 1 OUPUT NO ACTV FUNC; Multi-var. chain rule: find dy/dx of f(x_i) where i>1; Maxpool:
red. Resol. While incr. chann.; GLOBAL POOLING: ALL in 1 OUTPUT
Casual s2s layer: last vector see all IN SEQ; High variance = unstable learners(-. Disruption 出事); CDF: of
a random var -> prob =< certain value; Compute log-likel 全ds -> loss-func.
Mean+ = lin. Act.; Cov. Matr = exp. Act.; Inc. variance to red. Impact of ^2 err, penalty: log(sigma)
Mixt.dens.net: output param. From gaus. Mix.model.; Also good for 2 solut.s
In gen. net, sample input from stand MVN and see as another MVN, input = Z, space of in = Latent
space(LS); GCNs !全batch; TL: on known ds; IL: 好production; Embedding = TL; ^2errorlos: classi decs.
Bound. No need to ^2
14lines
GAN(分别真假)Better 分开 train; Strong at pics;Train discr. = F + GD update disc; ‘
pf3

Partial preview of the text

Download Machine learning exam summary - 2022/2023 and more Study notes Machine Learning in PDF only on Docsity!

3-4 exp rule;FLIP IF <;Random search + simulated annealing:;Ran 找 + sim. ann: discrete + cont space AUC Only for classification;Measure rank perfor.;1 num outcome: ROC-AUC, PC-AUC Red bias: incr model cap, Inc feat + boosting; Red var: Red model cap, add regularization, red 3 depth ;Generalization err: overfit indicator LOGLIKELIHO.Smoother log landscape for GD methods; Symbolically easier to manipulate; PROBAB. CLASS. (PC);PC = rank class -> ROC curve

generative class+When disc class+ DS large, complex dec bound+When gen class+ limited data

(1)Learns distributions on feature space,(2)Dist(1) combined with Bayes'r -> class probs Bayes C Learns single dis. P(X|Y); Model P(X|Y): (1)Sep. data by class (2)Fit prob dist. Each subset Naïve B C -Assumes cond. Indep. Feat.-Simple,cheap Generative classifier When disc class+ DS large, complex dec bound;When gen class+ limited data GENERAL Magnitude = steepness; Pop. Method: parallel, slow for complex models, hard to tune; Least-squared loss NOT for classification; Loss func.: eval, weighting, regularization(penalizing complexity) High bias = underfitting; High var = overfitting; Cost imbalance : !accuracy; Freq = stats; Bayes = subjective; Prefix-freecode long = low prob of a result; CROSS ENTROPY (LOG)LOSS; If class prob: cross entropy(log-loss = trash); Why Min. descr. Length princ.: (1)Solves over/underfit, (2)Pick model shortest compr. 2partcoding: effic. Compression; number/parameters takes space; XOR-issue: lin-class useless bc of data, use non-lin-class; Mult.var.N(0,1): acquired after standi,whiten.;INCL ACTV FUNC. = NON-LIN. REGR. MODEL = 1 OUPUT NO ACTV FUNC; Multi-var. chain rule: find dy/dx of f(x_i) where i>1; Maxpool: red. Resol. While incr. chann.; GLOBAL POOLING: ALL in 1 OUTPUT Casual s2s layer: last vector see all IN SEQ; High variance = unstable learners(-. Disruption 出事); CDF: of a random var -> prob =< certain value; Compute log-likel 全 ds -> loss-func. Mean+ = lin. Act.; Cov. Matr = exp. Act.; Inc. variance to red. Impact of ^2 err, penalty: log(sigma) Mixt.dens.net: output param. From gaus. Mix.model.; Also good for 2 solut.s In gen. net, sample input from stand MVN and see as another MVN, input = Z, space of in = Latent space(LS); GCNs !全 batch; TL: on known ds; IL: 好 production; Embedding = TL; ^2errorlos: classi decs. Bound. No need to ^ 14lines GAN(分别真假)Better 分开 train; Strong at pics;Train discr. = F + GD update disc; ‘

Train gen. = F + train weights to fake discr.; Vanilla: train alter.; Style: van + Latent vec > each stage of forward pass; Cond: avoid mode col. Choose 1 VAE use prob LS AE(deter.); Semi-superv.; Encoder: compress input 2 low-d LS; Decoder: 从 LS 取本 and gen. New similar data; Both output: N dist.; Sample step mid; E+D = data mani.; E = red. dimen.; D = Gen. Network; Eval: Least ^2, |error| loss, binary X entropy Bagging; combine model((1)can parallel) -> output; (2)Red. Var; RANDFOREST also (3)few hyperpara Boosting; modelS(seq), impr. From prev model misclass; Red. Bias; Ada: Ass. High weights on missclass samples 2 correct them RNN; NN ON SEQ DATA; HAS CYCLES, UNROL 后 NO CYC; ALGOR: BACKPR(BPTT) : Learn from past input ;BETTER 记:ReLU,LSTM REGULARIZERS;Prevent overfit; L1:ENC. Few feat.; L2: All Feat., red. Magn. DEEPLEARNINGRAW(IN)>TEN>L>HIDD>L>OUT; NOR: RAW(IN)>FEAT EXT.>FEAT>L>OUT; Casual layer: only look past not feature 4 prediction; ADAM(GRAD. BASED); Adap. Learn rates + momentum; ++large DS, Compl. Models; Adj learning rate 4 each weight COMP.GRAPH= COMP. MODEL + LOSS; Backpr = 1 scalar output 4 Data aug.;Occur: train set;SMOTE(+points near minor);Domain specific: Rot,trans pic to add gaus noise NNFF = 1st layer: learn(!compute) feat. Expans -> enable learn non-lin patterns ;2nd: lin. Reggr. On feat. Expans. Space;NN output into prob. Dist. : Take output as parameter of prob. Dist. DATAInvest. #missing data = hist(feature) comp;Production: same testset; Class imb. Solve: big ds,resample train data;Eval: !accuracy;Occur: exp/produ MSEMean min. the error;Rooted MSE usage = provides pure distance Mean abs. err ;++outliers Median min. the error STANDARDI;Shift uniform then divide by N[0,1] to shrink;Feat. = uncorrelatedWHITENINGFeat.= correlated SIGMOIDLinear classifier + SIGMOID = disc. Prob. Class;Logistic sigmoid function (regr/class) prop: (1)Symm,(2)Easy dy/dx; Build class: (1)Compute linear function(2)Apply logistic sigm. Output(3)Log function 2 measure correctness LINES: 11 PCA++Efficiency, visual, red. Variance; Constr. Funct: retain lin.;||c||=1 is ok; Vector c': hyperp. Vector ;Perfe. Recons.: #new = #old Feat.;PCA WHIT. BASIS: multiply each pc by N(0,1) -> new feat. Have = variances + uncorr.; WHY: EASIER 2 SEE