PinnedChanaka PrasannaClassification Report Explained — Precision, Recall, Accuracy, Macro average, and Weighted AverageWhy do we need a classification report?Apr 212Apr 212
Chanaka PrasannaConverting Categorical Data into Numerical Form in Machine LearningCategorical data refers to variables that represent categories or labels rather than numerical values. For example, “color” could have…Aug 101Aug 101
Chanaka PrasannaEvaluating Model Performance with K-Fold Cross-Validation — A Practical ExampleIn the previous article, I explained cross-validation. Now, I’m going to show you K-fold cross-validation in action. This is one of the…Aug 1Aug 1
Chanaka PrasannaCross Validation Explained — Leave One Out, K Fold, Stratified, and Time Series Cross Validation…Cross-validation is a technique for evaluating machine learning models by training them on different subsets of the available data and…Jul 301Jul 301
Chanaka PrasannaHyperparameter Tuning Explained — Manual tuning, GridSearchCV and RandomizedSearchCVHere, we’re diving into the world of hyperparameter tuning in machine learning. If you’re new to this topic, don’t worry. We’ll break it…Jul 29Jul 29
Chanaka PrasannaHow to Choose the Best Model for Your Machine Learning ProblemFinding the right machine learning model can feel like finding a needle in a haystack. With so many options out there, how do you know…Jul 28Jul 28
Chanaka PrasannaHow to Handle Class Imbalance in Your DatasetClass imbalance occurs frequently in real-world datasets. But what exactly is class imbalance? Let’s consider an example. Suppose we are…Jul 16Jul 16
Chanaka PrasannaDealing with Time Series Data — Pandas’ parse_dates ExplainedPandas, a powerful data analysis library in Python, offers various functions to handle datetime data efficiently. One such function is…Jul 6Jul 6