Publications by Nirmal Ghimire, K-16 Literacy Center
Plotting Prediction on ML
Example Using Wage Data 1. Loading Required Packages, and Data. Checking Data library(ISLR); ## Warning: package 'ISLR' was built under R version 4.0.3 library(ggplot2); library(caret); ## Warning: package 'caret' was built under R version 4.0.3 ## Loading required package: lattice data(Wage) summary(Wage) ## year age ...
4392 sym R (3361 sym/25 pcs) 7 img
Regression Model Project
Summary of the Research I am a data scientist at MTcars and currently I am working on a piece for a magazine called Motor Trend about the automobile industry. This project looks at a data set of a collection of cars as my team is interested in exploring the relationship between a set of variables and how they impact fuel efficiency using the mile...
8355 sym R (4514 sym/21 pcs) 4 img
Predicting with Trees, Bagging, and Bootstrapping
Predicting with Trees The basic idea behind predicting with trees is that if we have a lot of of variables that we want to use to predict an outcome, we can take each of those variables, and use it to split the outcome into different groups. As we split the outcomes into different groups, then we can evaluate the homogeneity of the outcome within...
16369 sym R (8325 sym/41 pcs) 7 img
Peer Reviewed Project_PML
Background Prologue Using devices such as Jawbone Up, Nike FuelBand, and Fitbit it is now possible to collect a large amount of data about personal activity relatively inexpensively. These type of devices are part of the quantified self movement – a group of enthusiasts who take measurements about themselves regularly to improve their health, t...
3134 sym R (4649 sym/20 pcs) 2 img
R Markdown Files and Sharing Them
12/16/2020 New Slide Some content My title Bullet 1 Bullet 2 Item a Item b A top level subheading A second level subheading Formatting Options Plain Text Italicized text Bold Text for (i %in% 1:10) Some R codes that work head(mtcars) ## mpg cyl disp hp drat wt qsec vs am gear carb ## Mazda RX4 21.0 6 160 11...
4331 sym R (4198 sym/18 pcs) 1 img
Plot.ly Project, Developing Data Products
library(plotly) data("mtcars") plot_ly(mtcars, x=~wt, y=mpg, mode="markers", color = ~wt) plot_ly(x=mtcars$mpg, y=mtcars$gear, type="bar") ...
10 sym R (139 sym/2 pcs)
Creating Interactive Lessons on R
Making Our Own Course To be able to make our own program like ‘Swirl’, we need to install package called ‘swirlify’ using the /install.packages(“swirlify”)/ syntax. I want to make sure that I know my working folder. If it is not on the folder of my choice, I would like to set it using the /setwd()/ syntax. library(swirlify) getwd() #...
10128 sym R (249 sym/4 pcs) 2 tbl
DDP_Final Project
DDP_Copenhagen Housing Conditions SurveyNirmal Ghimire12/24/2020 Introduction This is an interactive app that helps you predict the total number of residents (freq) based on, (i) renters satisfaction (High, Medium, or Low) of this living conditions based on, (ii) Infl: perceived degree of influence householders have on the management (High, Med...
1009 sym R (2382 sym/4 pcs) 1 img
Data Science Capstone_Week 1
Tasks to accomplish Tokenization - identifying appropriate tokens such as words, punctuation, and numbers. Writing a function that takes a file as input and returns a tokenized version of it. Profanity filtering - removing profanity and other words you do not want to predict. Tips, Tricks, and Hints Loading the data in. This dataset is fairly l...
2705 sym R (2323 sym/21 pcs)
Week 2 Capstone
Task 2 - Exploratory Data Analysis The first step in building a predictive model for text is understanding the distribution and relationship between the words, tokens, and phrases in the text. The goal of this task is to understand the basic relationships you observe in the data and prepare to build your first linguistic models. Loading Required...
1563 sym R (4973 sym/23 pcs)