-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
415 additions
and
401 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
# fys-stk-project2 | ||
# Classification and Regression, from linear and logistic regression to neural networks | ||
|
||
This repository contains programs, test runs, material and report for project 2 in FYS-STK4155 made in collaboration between Oda Hovet (odasho), Ilse Kuperus (ilseku) and Erik Alexander Sandvik (erikasan). | ||
|
||
## Structure | ||
|
||
### Report folder | ||
* Contains the PDF of the report | ||
|
||
### Programs folder | ||
* `mylearn` package with logistic regression and linear regression with optimization methods for gradient descent | ||
* Code for neural network: `neural_network.py` | ||
* Code for classification with neural network: `classification_with_neural_network.py` | ||
* Notebook for gradient descent regression: `GD_Regression.ipynb` | ||
* Code for loading MNIST data set: `mnist_loader.py` | ||
|
||
### Test runs folder | ||
* The `mylearn` package to run the other programs. | ||
* Tests for logistic regression: `LogisticRegression.ipynb` | ||
* Tests for verifying gradient descent optimization for linear regression: `verify_GDRegressor.ipynb` | ||
* Test runs for regression with neural network: `regression_with_neural_network.py` | ||
|
||
### Figures folder | ||
* Contains figures used in the report |
144 changes: 23 additions & 121 deletions
144
programs/.ipynb_checkpoints/GD_Regression-checkpoint.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
181 changes: 181 additions & 0 deletions
181
programs/.ipynb_checkpoints/verify_GDRegressor-checkpoint.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
My Learn folder: | ||
* Logistic Regression | ||
* SGD | ||
### Programs folder | ||
* `mylearn` package with logistic regression and linear regression with optimization methods for gradient descent | ||
* Code for neural network: `neural_network.py` | ||
* Code for classification with neural network: `classification_with_neural_network.py` | ||
* Notebook for gradient descent regression: `GD_Regression.ipynb` | ||
* Code for loading MNIST data set: `mnist_loader.py` |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.