-
Code and figures posted
-
Bree’s question, cont.
-
ChatGPT’s answer to Bree’s brilliant question
You may remember that Bree stymied me in class last week when she asked (Stephen’s paraphrase): “we’re attempting to use some number M of principal components < p, which will help us get a more parsimonious model with fewer parameters to fit. However, to compute the loadings for the principal components, aren't we fitting coefficients…
-
Quiz #4 posted!
-
To clarify: “the next class” in spring semester
To reiterate from various lectures throughout the semester, the spring class I’ve been talking about which will essentially be a neural-net-infused continuation of our class is: DATA 470D5: Machine Learning (Its CRN, if you care about such things, is 22448.) In the near future, this class will (curriculum approval process pending) be offered as a…
-
Names competition final leaderboard
-
Homework #4 posted!
-
PCR/PCA code posted
I’ve pushed the code from today’s class to the class github repo, including sec6_3.py which has the PCR/PCA code for the WNBA data set. Also, as I mentioned in class today, we’re definitely not going to have two responsive readings this semester (I’m still holding out hope for one) so I went ahead and gave…
-
Regularization in Logistic Regression
I was reminded by a Kaggler today that although I showed you guys sample code to add regularization for linear regression (Lasso and Ridge) I never explained how to do this for classification (logistic regression). First off, fun fact: it turns out that sklearn’s LogisticRegression already uses regularization by default! Specifically, it uses L2 (ridge)…
-
The crazy PCA diagram


