dustinmcafee / artificial_neural_network Goto Github PK
View Code? Open in Web Editor NEWTrain and Test an Artificial Neural Network using K-Fold Cross-Validation with Python
Train and Test an Artificial Neural Network using K-Fold Cross-Validation with Python
There are three python files for this project: data.py: Projects file 'input/train/TrainingData.txt' to first K Principal Components net.py: This, by default, trains an artificial neural network on the dataset, using K-Fold Cross-Validation, and presents average performance statistics, then trains on the training dataset and predicts output on the testing dataset. The Architecture is defined by global variables at the top of the file, easily editable. To project training dataset (input/train/TrainingData.txt) to K first Principal Components: ./data.py K Output: Projected dataset (input/train/TrainingData_Project.txt), Singular values (output/Singular_Values.txt), Percent Variance of each singular value (output/Singular_Values_Percent_Variance.txt), To run the ANN with K-Fold Cross-Validation on the Training Dataset: ./net.py [1] If the optional argument == 1, it will generate a completely new training and testing dataset. Output: Validation statistics and a file of predicted categories saved in 'output/ANN_Predictions.txt'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.