Skip to main content

Posts

Showing posts with the label Lasso

MLOps - Day 8

Today's learning :- If a column/field help you to predict target then only it can be feature , else it won't be a feature or predictor. In this example we can see that marks doesn't depend on Name and college ID. That means these can't be my feature. Using correlation  method we check if College_id is a feature for marks or not. Feature selection using  correlation  is known as feature selection approach using filter. But sometimes it doesn't give proper result hence we have another approach then we have to go for Embedded technique of feature selection. Coefficient is one of way of feature selection using Embedded technique. Feature selection using coefficient is a slow technique because first of all we have to create a model, then train this model, then find model coefficient. Which a long process (Create model > Train model > Find model coefficient = coefficient feature selection technique). If you want to do feature selection using Embed...