gravatar

devcraig

Daniel

Recently Published

DATA605 Final
DATA605 - Comp. Mathematics - Assignment 15
DATA605 - Comp. Mathematics - Assignment 15 - Integration by U Substitution - Derivatives and 2nd Derivatives to find maximums, minimums, and saddle points
DATA622 HW3 - SVMs vs Decision Trees_re
Re-upload due to update existing errors. Included an image
DATA622 HW3 - SVMs vs Decision Trees
A comparison and exploration of SVMs for classifying a win vs Decision Trees.
Decision Trees Usage, Pro's, and Con's ver. 2
A re-upload of the first since there were issues with updating the published doc Highlights some of the issues of decision trees and how random forests attempt to handle it.
Decision Trees Usage, Pro's, and Con's
library(knitr) library(data.table) library(readr) library(dplyr) library(randomForest) library(caret) library(ggplot2) library(tree) library(cowplot) library(corrplot) library(rmarkdown) Creating decision trees to predict a win with Nature's Prophet in Dota 2
DATA605 - Comp. Mathematics - Assignment 4
Eigenvectors used on Shoe Images to show how linear algebra is used in Image Recognition with Eigenvectors from covariance matrices generated by PCA.
DATA605 - Comp. Mathematics - Assignment 2
This assignment covers: 1. proving that matrix transposition is not equal to simple matrix multiplication 2. Using R code to perform LU Decomposition
DATA606 Final Project
An analysis on Self Control Capacity impacting Daily Habit Execution with data sourced by the following study A Longitudinal Field Study on the Role of Self-Control in Habit Formation [https://www.frontiersin.org/articles/10.3389/fpsyg.2020.00560/full] Techniques: - pivot_longer - aov (anova) - dplyr - tidyverse
DATA607 - Final Project - Workspace
This is the workspace I used to help build the app I have currently hosted at: https://hhl7f9-daniel-craig.shinyapps.io/Predicting_Wins_Classification/
PurrrVignette
A vignette extending classmate's work on Purrr
DATA607 - Project 4 - Classification
Classifying a "win" with hero Nature's Prophet from Dota 2 using variable from games. Trained on a dataset collected by OpenDota
DATA606 Final Project Proposal
A project focused on attempting to find if there is a higher success rate amongst those with self control at building new habits. Data and original study: https://www.frontiersin.org/articles/10.3389/fpsyg.2020.00560/full
Readr Vignette
A vignette for readr highlighting column specifications and column type setting during import to avoid tidying in the middle of a user's workflow down the line.
DATA607 - WK10 Assignment - Sentiment Analysis
Works and cites through Text Mining with R by Silge and Robinson (2017)
DATA607 New York Times API
This exercise uses an endpoint from NY Times API to pull JSON data, convert it to a dataframe, and then combine dataframes stored across the JSON/API endpoints from multiple calls into one database that would fit well into an SQL table and further analysis.
Extra JSON API Work
Pulling some JSON structures from Nobel's API (they have a super easy tutorial on their site and literally just give you the code.) Answering some questions after chopping and slicing some data up.
DATA607 - Assignment 7 - Data formats (XML, JSON, HTML)
Focuses on importing data from different formats that you may receive when using an API. Some packages used here: library(rvest) library(htmltools) library(jsonlite) library(XML) library(RCurl) library(methods) Commands: html_element() html_table() jsonlite:: fromJSON() getURL() - used for getting the XML file xmlToDataFrame()
Project 2 - LA African American Therapists
Data tidying practice using Kory's Therapists Untidy Data example from Week 5
Project 2 - Train Casualties
Data tidying practice using Joe's Train Casualty Untidy Data example from Week 5
Project 2 - NBA Rankings
Data tidying practice using Jacob's NBA Rankings Untidy Data example from Week 5
DATA607 - Assignment 5 - Untidy Data (pivot_longer)
This assignment focuses on the import of an untidy CSV file about airline arrival delays and formatting it into a more usable style.
DATA607 - Project 1 - Chess Rankings, text manipulation, and cleaning
Strong use of: - separate_wider_delim - some regex with replace to remove some formatting - apply() to apply functions across rows - basic data structure slicing - merge() It is mostly dynamic with only one section that doesn't respond to how many rounds of chess there are. 95% of this is dynamic to how many rounds of chess were played and can be performed on almost equally formatted file expect for the section titled 'lookup table prep.'
DATA607 - Assignment 1 - Basics
Primary Polls Subsetting + GGPlot