Feed forward neural networks and logistic regression
Usage
python3 src/run.py [arguments]
usage: run.py [-h] [-s] [-f] [-l] [-a]
To run the analysis and the tests
optional arguments:
-h, --help show this help message and exit
-s, --sgd To run the analysis for doing OLS and Ridge regression using the SGD method
-f, --ffnn To run the analysis for the Feedforward neural network
-l, --logistic To run the analysis for the logistic regression
-a, --all To run all the analyzes
Structure
.
├── output - Outputs generated by the program
│ ├── ...
├── README.md
└── src
├── analysis - files for running the analysis
├── config - config variables shared among multiple files
├── FFNN.py - the implementation of the FFNN
├── generate_data.py - to generate data
├── layers.py - containing the different layers with different activation functions
├── linear_regression_models.py - containing the abstract linear regression model
├── logistic_regression.py - contains a logistic regression model
├── ordinary_least_squares.py - contains the ordinary least square implementation
├── plot.py - contains code used for plotting
├── ridge.py - contains the ridge implementation
└── run.py - contains the code for running the analysis