R, Machine Learning, Nonlinear Regression.
the relationship between variables with polynomial regression. 3. Log Transformation The relationship between variables can be modeled by applying logarithmic transformation to the independent variable. R codes for this are shown below: model<-lm(medv~log(lstat),data=train.data) predictions<-model