Tag Archives: python
Machine Learning: K-Means Cluster Analysis using Python – Alcohol intake based on physical and social attributes
Plotting data on the graph is like looking at a bunch of stars. They all look the same and the data is difficult to interpret. What if there was a method to colour the stars? Cluster analysis groups observations into … Continue reading
Machine Learning: Lasso Regression using Python – Alcohol intake based on physical and social attributes
Lasso regression (AKA Penalized regression method) is often used to select a subset of variables. It is a supervised machine learning method which stands for “Least Absolute Selection and Shrinkage Operator”. The shrinkage process identifies the variables most strongly associated … Continue reading
Machine Learning: Random Forests using Python – Alcohol intake based on physical and social attributes
The decision tree in the previous posts is useful in exploring how variables can predict a particular target or response.However, small changes in data can lead to different results. Like decision trees, Random Forests also assesses variables with respect to … Continue reading
Machine Learning: Making Decision Trees using Python – Adolescent Sex and Parenting
A decision tree can predict a particular target or response. The decision tree below was made by me using machine learning to test against several relationships which can be found in the National Longitudinal Study of Adolescent Health survey performed … Continue reading