Category Archives: R Language

R Language OOP using S3

I wrote an article titled “R Language OOP using S3” in the January 2017 issue of Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2017/01/01/r-language-oop-using-s3.aspx. The R language has been around for decades and is used mostly for interactive data analysis. For example, you … Continue reading

Posted in R Language | Leave a comment

Factor Analysis

Factor analysis is a classical statistics technique that isn’t used too much in machine learning but it can be quite valuable. As is often the case with statistics and ML, it’s a bit tricky to explain what factor analysis is … Continue reading

Posted in Machine Learning, R Language

Logistic Regression using R

I wrote an article titled “Logistic Regression using R” in the December 2016 issue of Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2016/12/01/logistic-regression-using-r.aspx. I consider logistic regression to be more-or-less the “Hello World” basic example of machine learning. Logistic regression is used in … Continue reading

Posted in Machine Learning, R Language

R Language S4 OOP Object Initialization

I have a love-hate-love relationship with the R language. I like the huge R set of libraries (packages). But. R language syntax is very different from other languages so there’s a huge time cost to switch context from any language … Continue reading

Posted in R Language

Logistic Regression using Newton-Raphson

Logistic regression (LR) is a machine learning technique that makes predictions in situations where the outcome can be one of two possible values. For example, you might want to predict if a person died or not (Y), based on Age, … Continue reading

Posted in Machine Learning, R Language

R Language Miscellaneous Matrix Techniques

The R language has a built-in kmeans() function for k-means data clustering. I was thinking about coding an R language custom k-means function from scratch. In most languages — C#, JavaScript, Python, etc. — I’d just start coding because I … Continue reading

Posted in R Language

Neural Networks using the R nnet Package

I wrote an article titled “Neural Networks using the R nnet Package” in the November 2016 issue of Visual Studio Magazine. See https://visualstudiomagazine.com/Articles/2016/11/01/Using-the-R-nnet-Package.aspx. A neural network is a software system that can use data to make predictions. For example, a … Continue reading

Posted in Machine Learning, R Language | 2 Comments