Skip to content

lasse-steinnes/MachineLearning_Project2

Repository files navigation

MachineLearning_Project2

This Gitgub repository contains codes for Logistic Regression and Neural Networks.

The folder Results contains the .csv files and figures produced for the report.

The folder is further divided into LogReg (Logistic Regression Results),
                                   
                                   NeuralNetwork (Neural network classification results),
                                   
                                   NeuralNetworkReg (Neural network regression results)
                                   
                                   The results folders also contain code vis_*.py for creating heatmaps to visual the collected information.

The folder Terraindata contains the .tif files for the regression problem.

The folder Report contains the written report explaining the methods and results of the Logistic and Neural Network.

The remaining files in the repository are the codes created for the Logistic Regression and Neural Network and visualisation.

LogisitcRegression.py contains the class for Logistic Regression for classification.

eval_log.py contains code for comparing Logistic regression and ScikitLearn.

Neural_Network.py contains the class for Neural Network for classification and regression.

OneHot.py contains the class for onehot encoding data.

SGD.py contains the class for Stocastic Gradient Descent, parts of this class are used by Neural Network and Logistic Regression.

helper_functions.py contains functions for data preparation.

nn_example.py contains code for running the neural network for classification problems. 

nn_tensorflow.py contains code for comparing the network with tensor flow.

nn_regressionexample.py contains code for running the neural network for regression problems

nn_regression_keras.py contains code for comparing the regression implementation of the neural network with tensor flow.

vis_training.py contains code to visualise the behaviour of Logistic Regression.

visulaize_data.py contains code for creating the correlation matrix.

default of credit card clients.xls contains the raw data from the UCI website. 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages