Skip to content

Ankit161001/Sequential-ANN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Sequential-ANN

Sequential Artificial Neural Network Model code.

Feel free to use the dataset I used i.e. sonar.csv. Be sure to keep the notebook and csv file both in the same directory. Cheers!

Before executing the python notebook be sure to install pandas, matplotlib and numpy. For installing first check if you have python installed. Head over to python.org to install python. When installed run command prompt. Execute the command pip install keras, pip install matplotlib and then pip install numpy. These codes will successfully install keras, matplotlib and numpy modules in your system.

The python notebook has the procedure for building an Artificial Neural Network Model (ANN).

Code Description

Code blocks are commented to provide a better understanding.

  1. the important modules are imported
  2. encoding is featured
  3. the dataset is splitted into training and testing sets
  4. scaling is featured
  5. Keras Libraries and packages are imported
  6. ANN is initialized
  7. input layer, dropout layer, hidden layer ad output layer are created
  8. ANN model is compiled
  9. ANN is fit to the training set
  10. Predictions are done on test set

About

Sequential Artificial Neural Network Model code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages