/basic_classification_network

A Neural Network to perform 0/1 (True or False) classification on a data-set.

Primary LanguagePython

A Basic Classification NN

A Neural Network to perform 0/1 (True or False) classification on a data-set like the Pima Indians data-set for diabetes.

Setting up:

  • Start by Cloning the repo.

  • If you have anaconda installed :

    • Make sure that everything is up-to-date and numpy is installed

      conda update --all
      conda install numpy
      
    • Then install tensorflow via

      conda install tensorflow
  • If you have vanilla python instaled then install tensorflow and numpy via pip:

    • Make sure pip is up-to-date

       pip install --upgrade pip
      
    • Then install numpy and tensorflow

      pip install numpy
      pip install tensorflow

    If you're going to do any serious machine learning I really recommend installing anaconda and using that method.

  • Place your dataset in form of a .csv and rename it to "data.csv" (without the quotes)

  • Run the script via

    python classification_network.py

    Enter the dimension of the data when prompted.