Open
Conversation
…into cremones-devel Conflicts: scripts/project1.ipynb
…into cremones-devel
…t logistic regression using newton method
Adding w penalization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
And a simple attempt at logistic regression using newton method.
Hi guys, here's a first attempt at completing the project. To be honest, I mainly concentrated on data preprocessing, i.e. whitening and similar things. My idea is that you can use my preprocessing scripts to save the data to a file, and then import it into your own classification scripts.
If you want an example on how to import the data, just look at the first cells of my Logistic-Regression script and it will give you a nice idea. Also, remember to update the paths accordingly to your directory structure (I keep a subdirectory called data where I save all the data). Right now my logistic regression using Newton method doesn't do very well, but is not awful either. I am confident that you guys can come up with a better method.
I have also started writing stuff in the report (under the name report-francesco.tex). I mainly wrote this as notes for myself and you guys, in case you want to interpret what the preprocessing code does. I do not expect this to be included in the actual report that we send out, except maybe for a few selected lines (and maybe the correlation coefficient matrix figure). But if you want a slightly better idea of what's going on in the preprocessing, read the report or simply write me an email, or on slacks!