Skip to content

AbhinRustagi/Finding-Donors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I completed this small project as part of Udacity's Machine Learning Nanodegree.

Problem

Given a dataset of the income of multiple individuals, find out whether an individual will donate to CharityML (a fictional charity organization) or not.

Approach

Considering this problem will have a binary resolve with respect to each individual (yes or no), I decided to try out 3 different algorithms:

  1. Naive Bayes (Base Model)
  2. Logistic Regression
  3. Support Vector Machines
  4. K Nearest Neighbours

Here's the result of the accuracy I achieved on the training set:

Model Accuracy %
Naive Bayes ~25
Logistic Regression ~84
Support Vector Machines ~86
KNN ~87

I chose to go ahead with Logistic Regression since it gave the best results on the testing set.

I received a final accuracy score of 84.2% with this model on the testing set.

About

🪙 classification project to predict whether a person will donate to charity organization or not

Topics

Resources

Stars

Watchers

Forks

Contributors