Git Product home page Git Product logo

neural_network_charity_analysis's Introduction

Neural_Network_Charity_Analysis

Overview of the analysis

The purpose of this project is to use deep-learning neural networks with the TensorFlow platform to analyze and classify the success of all charitable donations. During the process I have

  • preprocessed data to get ready for the neural network model
  • then compiled, trained and evaluated the model
  • attempt 3 times to optimize the model.

Results

Data Preprocessing

  • Column IS_SUCCESSFUL is considered the target for my model.
  • APPLICATION_TYPE, AFFILIATION, CLASSIFICATION, USE_CASE, ORGANIZATION, STATUS, INCOME_AMT, SPECIAL_CONSIDERATIONS, ASK_AMT are the features for my model.
  • The columns EIN and NAME are not targets nor features, which I have removed from the input data.

Compiling, Training, and Evaluating the Model

  • In my neural network model I have 2 hidden layers. The first layer has 80 neurons, the second has 30. The output layer is made of a unique neuron as it is a binary classification. The first and second hidden layer have the "relu" activation function, the output layer has "sigmoid" activation function.
  • The model did not achieve the targeted accuracy of 75%. The accuracy for the model is about 72.68%.
  • In my first attempt, I removed the 'USE_CASE' column. This did not improve the accuracy, which stayed at 72.47%.
  • In my 2nd attempt, I increased the number of neurons on one of the hidden layers, then we used a model with three hidden layers.
  • I have also tried a different activation function (tanh) but none of these steps helped improve the model's performance.

Summary

  • The deep learning neural network model did not reach the target of 75% accuracy, even after third different approaches.I would say that the model is not outperforming.
  • I would consider other supervised machine learning models such as the Random Forest Classifier, or Support Vector Machine to combine a multitude of decision trees to generate a classified output and evaluate its performance against this deep learning model.

neural_network_charity_analysis's People

Contributors

echoqshen avatar

Watchers

 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.