Select Page

Unsupervised Machine Learning Techniques

What does Unsupervised Machine Learning mean? Unsupervised machine learning algorithms infer patterns from a dataset without reference to known, or labelled, outcomes. Unlike supervised machine learning, unsupervised machine learning methods cannot be directly applied...

Supervised Machine Learning Techniques

Supervised learning is the machine learning task of learning a function that maps an input to an output based on example input-output pairs. It infers a function from labeled training data consisting of a set of train in examples. In supervised learning, each example...

Introduction to Machine Learning

Introduction Machine learning is a method of data analysis that automates analytical model building. It is a branch of artificial intelligence based on the idea that systems can learn from data, identify patterns and make decisions with minimal human intervention. ...

Lasso Regression R-Code

from sklearn.linear_model import Lasso def lasso_regression(data, predictors, alpha, models_to_plot={}):  #Fit the model  lassoreg = Lasso(alpha=alpha,normalize=True, max_iter=1e5)  lassoreg.fit(data[predictors],data['y'])  y_pred =...

Lasso Regression

What is Lasso Regression? Lasso regression is a type of linear regression that uses shrinkage. Shrinkage is where data values are shrunk towards a central point, like the mean. The lasso procedure encourages simple, sparse models (i.e. models with fewer parameters)....