Skip to content

hamzaowais/mlp2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Machine Learning

TransformCsv.py

Preprocessing data for training Machine learning model. See the code it is very simple and self explainatory

init: import the csv data
replaceStringWithInt: converts string class to int
intergifyData: converts string np array to int.
shuffleData: randomly shuffles the dataa
trainGen: converts the data in to training, testing, validation data
multiClassGen: converts the data for multiclass classification.

Modeified Multi Layer Perceptron mpl2.py:

Modified the mlp class so that it usess cross-entropy error function for logistic activation function and multi-class cross-entropy error when a soft-max activation function is used.

About

Data processing python libraries. Mainly for machine learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages