Skip to content

Latest commit

 

History

History
89 lines (58 loc) · 2.25 KB

README.md

File metadata and controls

89 lines (58 loc) · 2.25 KB

Neural Networks

Module 13 Challenge

Screen-Shot-2022-04-03-at-8-25-10-PM.png

Background

For this challenge I work as a risk management associate at Alphabet Soup, a venture capital firm. Alphabet Soup’s business team receives many funding applications from startups every day. This team has asked me to help them create a model that predicts whether applicants will be successful if funded by Alphabet Soup.


Technologies

The data we're analyzing comes from a jupyter notebook that we'll create and import files to. We'll be using Python to run and read our data.


Installation Guide

In order for us to get the data we need we must import pandas, plots and the csv files we want to observe.

# Imports
import pandas as pd
from pathlib import Path
import tensorflow as tf
from tensorflow.keras.layers import Dense
from tensorflow.keras.models import Sequential
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler,OneHotEncoder

Usage


Define at least three new deep neural network models.

  • With each, try to improve on your first model’s predictive accuracy.
# First alternative layer
nn_A1.add(Dense(units=hidden_nodes_layer1, input_dim=number_input_features, activation="relu"))

# Output layer
nn.add(Dense(units=1, activation="sigmoid"))

# Check the structure of the model
nn_A1.summary()

# Second alternative layer
nn_A2.add(Dense(units=hidden_nodes_layer1_A2, input_dim=number_input_features, activation="relu"))

# Output layer
nn_A2.add(Dense(units=number_output_neurons, activation="linear"))

# Check the structure of the model
nn_A2.summary()

# Third alternative layer
nn_A3.add(Dense(units=hidden_nodes_layer1_A3, input_dim=number_input_features, activation="relu"))

# Output layer
nn_A3.add(Dense(units=number_output_neurons, activation="linear"))

# Check the structure of the model
nn_A3.summary()

Contributors

Brought to you by Elgin Braggs Jr.


License

MIT