https://github.com/ashaw1270/samo3

https://github.com/ashaw1270/samo3

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: ashaw1270
  • Language: Python
  • Default Branch: main
  • Size: 1020 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme

README.md

SAMO 3

This is a deep-learning neural network written in Python using the Keras library that predicts if a set of data comes from a group of black or white people.

Implementation

The neural network consists of an input layer of 2 neurons with a sigmoid activation, one hidden layer of 128 neurons also with a sigmoid activation, and an output layer of 2 neurons (black or white) with a softmax activation. The model compiles with an Adam optimizer and a binary cross-entropy loss function and trains over 10 epochs.

Data

The data is split up into four .csv files. Each file is data for either training or testing and either x (input) or y (output). The data for the x values consists of two categories: average household income at age 35 (first column) and incarceration rate (second column), each being that of a certain "tract", as defined by the US Census. It is separated by data from all the black and all the white residents of that specific tract, ignoring people of other or multiple races. There are 88,570 data tuples for training and 10,000 data tuples for testing.

The data was taken from the opportunityatlas.org data set which can be found here.

Results

The learning model was able to predict whether a set of data came from a group of black or white people with 88% accuracy.

Owner

  • Login: ashaw1270
  • Kind: user

GitHub Events

Total
Last Year