Skip to content

bhavyaramgiri/R-Machine-learning-scratch--stockton-university

Repository files navigation

R-Machine learning (scratch) and PCA

Data analysis in R

energy census.rmd is the R notebook with R-codes focusing on data analysis. The source of the data can be found in https://www.kaggle.com/lislejoem/us_energy_census_gdp_10-14 . To view the plots please see Energy census PDF report.

R code from scratch for logistic regression, kmeans clustering, liner regression with their pdfs for viewing the plots. Data input for logistic is LogisticData_1.csv , for kmeans is KMeansData_Group1.csv, for linear are TestData_Group1.csv,TestData_Group2,TrainData_Group1 and TrainData_Group2.

PCA example with pdf and r code: used FIFA.csv for features analysis.