To reduce features in a dataset, two methods are there in machine learning: Feature selection and Feature extraction. Recursive feature elimination or in short RFE is the feature selection method. Here is given a complete guide on Recursive Feature Elimination for feature selection in machine learning. What is RFE? In Feature extraction, two or more features are combined from existing… Continue readingRecursive Feature Elimination(RFE): Effective Feature selection method in machine learning
There are many libraries in python available for making charts from the data. By which you can create charts and derive underlying information from the data. Plotly and Matplotlib are two of the libraries for it. Let’s see the comparison between Plotly vs Matplotlib and see which is best for performing the best data visualization in python. What is Matplotlib… Continue readingPlotly vs Matplotlib: Which is best for data visualization in python?
In many scenarios, you want to group columns with respect to one column with their mode values. Especially in categorical columns. So here is how you can group columns with their mode.
So I was recently doing one machine learning project and I came across a situation where I wanted to sort values of months in the pandas’ DataFrame(Like January, February, etc..). Sorting months in their order is necessary for EDA when you want to create plots on month vs any other feature. So here is a method to sort the month… Continue readingHow to sort pandas DataFrame by month names