Skip to content

tirthajyoti/R-stats-machine-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please feel free to add me here on LinkedIn if you are interested in data science and like to connect.

Statistics and Machine Learning R scripts

Misc Machine Learning and statistical analysis code examples in R

Packages used/demonstrated

Supervised learning (Regression and Classification)

  • Linear regression
  • Poisson regression

* Stepwise selection method * LASSO, Ridge, and Elastic Net regularization methods

* Residual analysis * Spline regression

* Logistic regression

* Support vector machine

* k-Nearest Neighbor * Decision Tree * Random Forest

* Feedforward neural network

Unsupervised learning

  • k-means Clustering

* Principal Component Analysis (PCA)

Statistics/Data wrangling

  • Missing data imputation
  • Demo of Central Limit Theorem'
  • Outlier detection using Grubb's test
  • Cumulative Sum (CUSUM) for change detection
  • Demo of Hypothesis shopping (why you should be suspicious of p-Values)