Skip to content

DhruvAhlawat/Machine-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Machine-Learning

A collection of my machine learning implementations

How to use the library MyRegressionModel

Note that numpy is required. Currently 2 modes of logistic regression are implemented, normalized and unnormalized. Normalized just converts each feature to a comparable range by subtracting mean and dividing by standard deviation for each feature. to use the normalized version, set the variable Normalized to True so future testcases also get modified correctly.

To start the training process, create an object of the class and then call the function Unnormalized or Normalized RegressionTrain, and pass the parameters as given. alpha corresponds to the training step during gradient descent, and regularization Factor is the factor used for regularizing the terms to prevent overfitting.

to predict using the model, use the predict function.

an example usage is provided for the kaggle's titanic competition dataset

About

my Machine Learning projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published