Edward S Joseph

Projects

Wine predictions

The goal of this project was predicting the rating of wine based on various factors. This was done using machine learning model that could look at features such as a review/ description, origin, variety, and price and use these features to make a prediction based on a previously trained dataset.
The data set we trained our machine learning model on can be found at https://www.kaggle.com/zynicide/wine-reviews. A count vectorizor in the scikit-learn library was our primary tool used to create the model.

This project was a team effort by Alec Prostok, Dan Bruen, Filipa Costaoda, Gage Petruzzello, and myself, Edward Joseph

Github Repo Link:
https://github.com/Dan-Bruen/WIne-Predictions

Deployed live at: 

https://wine-predictor.herokuapp.com/

NYPD Crime Data

Our project is to uncover patterns in criminal activity around New York City. We’ll examine relationships between types of crime and location; crime rates and gender; trends in crime rates over age group; and related questions, as the data admits.

We found the dataset on Data.gov called, “NYPD Arrest Data (Year to Date),” every arrest effected in NYC by the NYPD during the current year.

We used the NYPD Crime JSON API to retrieve all the arrests and locations of all of the crime in New York. We used Plotly to create three graphs:

  • Bar Chart: Crime Rate- Female vs. Male
  • Pie Chert: Crime Rate per Age Group
  • Bar Chart: Crime Rate per Neighborhood

Using Leaflet we created a base map of NYC with three layers. Markers were added for some specific crimes: RAPE, MURDER, ROBBERY and categorised the rest as “OTHER” to display the crime distribution in the city. For each category there is an overlay created to filter through the different crimes.

This project was a team effort by Gage Petruzzello, Iris Kurti, Yanelly Nunez, and myself, Edward Joseph.

Github Repo Link:
https://github.com/edjoseph360/nypdcrimedata

Deployed live at:

https://iris28kurti.github.io/nypdcrime/index.html

Discord Bot

This project was to create a bot to use in discord servers. I made it for personal use in my own server with my friends.

The bots name is jeff. To use the bot you must get a token from the discord developer portal and place it in the bot.py file on line 128 in the parenthesis for the client.run function. The bot must then be added to your server through the discord developer portal.

To use the reddit cog. You will need to get access to the reddit api. To do this apply at https://www.reddit.com/prefs/apps. Then in the reddit.py file in the cogs folder place your information between lines 6-10.

Once these steps are done, your bot is ready to run through the command line or a server.


The command to get the bot to acivate is simply ‘jeff ‘ with a space at the end. This is followed by a command and any arguements that command may take. For example, ‘jeff reddit news’ where ‘reddit’ is the command and ‘news’ is the arguement.

some commands included in the bot are:
coinflip – returns heads or tails
8ball- returns a response typical to an 8 ball
reddit- returns a random post from the subreddit arguement given to it
clear- deletes the last few messages. default is 5. can take an arguement

Github Repo Link:
https://github.com/edjoseph360/discord-bot