Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.08 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.08 KB

Dropout in Neural Networks for Multiple Datasets

This is a repository containing code for implementing dropout in neural networks on multiple datasets. Dropout is a regularization technique that can prevent overfitting in neural networks by randomly dropping out some neurons during training.

Datasets

The following datasets are included in this repository:

  • MNIST
  • CIFAR-10
  • Boston Housing Price Regression
  • Fashion-MNIST
  • Street View House Numbers
  • Reuters RCV1

Dependencies

To run the code in this repository, you will need the following dependencies:

  • Python 3
  • TensorFlow
  • Keras
  • Numpy
  • Matplotlib

Usage

To use this code, simply clone the repository and run the desired script for the dataset you wish to use. For example, to run the MNIST script, use the following command:

python mnist_dropout.py

This will train a neural network on the MNIST dataset with dropout regularization.

Results

The results of each experiment can be found in the results folder. Each result file includes the accuracy and loss of the neural network during training and testing.