Code Monkey home page Code Monkey logo

investment_predictions_deep_learning's Introduction

Overview

This project creates a machine learning model that will be able to predict the success of investing in a business venture. The CSV data file used for this project contains more than 34,000 organizations that have received various amounts of funding and the outcome of the investment (status of successful or unsuccessful). The data file is imported, processed, encoded, and standardized. The machine learning model is then trained, tested, and optimized to be able to predict if a future investment will be successful.

Data

The data, once read into a dataframe, can be viewed below:

Data

Running Instructions

To run this code, open and run the Jupyter Notebook file Investment_Prediction_Deep_Learning.ipynb. This code references the charity_data.csv file located in the Resources folder.

Conclusion

In an attempt to achieve target model performance, several different changes were tested. During the data processing phase, different binning amounts were explored. The higher the bin threshold, the lower the accuracy. During the model creation and testing phases, several different configurations were tested in an attempt to improve model accuracy. At first, a single neural layer network was tested. Different testing layers, node amounts, activation functions, and epochs were tested. Greater model complexity did not improve the accuracy rate.

In the end, the model had 2 layers and both used the Relu activation function. The first layer had 10 neurons and the second layer had 5 neurons. 80 epochs were used. With all of the above, a lesser amount would decrease accuracy and a greater amount did not increase accuracy. Having a greater amount of epochs, neurons, or layers with no direct impact on accuracy just increases the chances of overfitting.

Machine Learning Model Details:

Machine_Learning_Model

The model had an accuracy rate of 73.9%, which did not achieve the target model performance amount of 75%.

Model_Accuracy

If a different model was implemented to solve this classification problem, I would want to test both Support Vector Machine learning (SVM) and the Random Forest method because they are both supervised types of machine learning that could achieve a similar model accuracy rate while requiring less coding and computational resources.

investment_predictions_deep_learning's People

Contributors

waking-dreamer avatar

Stargazers

 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.