Giter Site home page Giter Site logo

neural-nets's Introduction

Notes on the code used for the CS 5073 Project:

All code files are in the Autoencoder directory. The testingdata, trainingdata, and Happiness_data.csv files and folders are for future work.

The file "latest_autoencoder" includes a class for the standard autoencoder and a class for the sequential autoencoder. It also includes a function to test one of each on the MNIST clothing dataset; to run that function one must uncomment the "layers.Reshape" in line 48. For other uses that line should remain commented.

The file "data_gen_and_test" includes all functions used to generate data used in the report. Noteworthy functions include:

"testable": This function runs many autoencoders, both standard and sequential and puts their results into a text file. When the text is copied into a LATEX compiler such as Overleaf.com, it becomes a pair of nicely formatted table.

"makecsv": This function runs 100 sequential and 100 standard autoencoders and records the average mean squared error and standard deviation of each model in a comma-separated-values file (readable by Excel). The variable "epochs" is the number of epochs the sequential autoencoder will train its first sub-autoencoder before training the next. The variable "count" is the number of repetitions, and also the number of times data will be recorded. For best sequential autoencoder performance, epochs>10.

"interpret": This runs a single model, recording the sum-squared error of each data element individually into a csv file. If it is running a sequential autoencoder, it will train the first sub-autoencoder for the specified amount while recording its performance (without any training of the second) and then trains the second sub-autoencoder for the specified amount, recording the performance (this time of the whole model). It isn't built to handle a sequential autoencoder with more than two sub-autoencoders.

To run any of these functions, either find their calls in the code and uncomment them or write your own function calls with the particular parameters you want to use.

neural-nets's People

Contributors

daviddowdell avatar jmless98 avatar

Stargazers

 avatar

Watchers

Joseph Bouchard avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.