Publications by Janish Parikh
Introduction to Missing Values and Merging Data
Recitation 04 Load Packages library(dplyr) library(ggplot2) library(statsr) library(gridExtra) library(lubridate) Let’s clean the global environment before moving further rm(list=ls()) dev.off ## function (which = dev.cur()) ## { ## if (which == 1) ## stop("cannot shut down device 1 (the null device)") ## .External(C_devoff,...
2450 sym R (15682 sym/64 pcs) 1 img
Introduction to ggplot2
Introduction to GGPLOT2 ggplot2 is Hadley Wickham’s R package for producing “elegant graphics for data analysis” The gg in ggplot2 stands for “Grammar of Graphics” The concept behind ggplot2 divides plot into three different fundamental parts: Plot = Data + Aesthetics + Geometry. Data is a data frame Aesthetics is used to indicate x an...
3840 sym R (9616 sym/28 pcs) 13 img
Recitation 08 - Bayesian Inference
Let’s clean the global environment before moving further rm(list=ls()) cat("\014") Why Bayesian Inference ? “What we know is not much. What we do not know is immense” - Marquis Simon de Laplace What is Bayesian Inference? Bayesian inference techniques specify how one should update one’s beliefs upon observing data. Bayesian inference ...
4811 sym R (2180 sym/29 pcs)
Assignment 8: De-anonymize Data
Assignment 8 Solutions Load the required libraries library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union Load the dataset data <- read.csv("~/Downloads/ExpandedF21Dat...
2475 sym R (13623 sym/23 pcs)
Bayesian Inference for Hunting
library(ggplot2) library(reshape) Load Data data <- read.csv("~/Desktop/520-Intro to AI/Project3/Repeated_Forward_Astar/data_set.csv", header=FALSE) colnames(data)<-c("Sample","dim","agent","terrain","move","exam","total") head(data) ## Sample dim agent terrain move exam total ## 1 0 5 6 8 27 12 39 ## 2 0 5 7...
404 sym R (6740 sym/10 pcs) 6 img
Introduction to R Markdowns
Introduction to R Markdown R Markdown is a tool within RStudio that allows you to write documents, presentations, or webpages that combine written text with code. They are the like Jupyter Notebooks in Python. The text in the document can be fully formatted in a report style (e.g., with headers, bolded text, hyperlinks, etc.) Your code runs when...
12103 sym R (22080 sym/55 pcs) 4 img 2 tbl