Build Linear Regression in Python - Supervised Learning
This example is a good one to start learning applying machine learning in python. If you are new to python and machine learning this example will guide you through simple steps to run your first...
View ArticleNaive Bayes Classification (Binary )- Supervised Learning
This example is a good starting point to use the machine learning concept on a classification problem. In the code snippet below, we apply the supervised learning concept with the naive Bayes...
View ArticleRandom Forest Classification (Binary )- Supervised Learning
On the beast cancer dataset, the code snippet below applies supervised learning of the random forest classifier. The code is divided into seven main steps. The first step is loading the necessary...
View ArticleKFold Cross-validation Random Forest Binary Classification
This is a Supervised Learning using the random forest. The distinctive part of this example in contrast to the previous one ( Random Forest Example) is the split of data. In this example, we apply...
View ArticleKmeans Clustering - Unsupervised Learning
In this example, we apply the unsupervised learning concept using the kmeans clustering. We apply the Kmean algorithm on the breast cancer dataset from sklearn. [code2=python]...
View ArticleRandom Search for tuning classifier parameters
This example illustrates the impact of applying parameter optimization on the performance of supervised learning such as a random forest. [code2=python] #https://jupyter.org/try#Demo6#M. S. Rakha,...
View ArticleFeature selection: Statistical and Recursive examples
This example illustrates Feature selection using techniques. The first technique is Univariate Selection which a statistical test is applied to the features and dependent variable (class). The second...
View ArticleGet the important variables of random forest classifier
This example illustrates the extra analysis that random forest can provide for data scientists. In a random forest, we can rank the important features based on the error caused by dropping any of...
View ArticleFeature selection: Statistical and Recursive examples
What is statistical feature selection?Statistical-based feature selection methods involve evaluating the relationship between each input variable and the target variable using statistics and selecting...
View ArticleFeature selection: Statistical and Recursive examples
What is recursive feature selection?Image result for Feature selection: Statistical and Recursive examplesRecursive feature elimination (RFE) is a feature selection method that fits a model and removes...
View Article