Data Science and Machine Learning Tutorials Step By Step

This category has step-by-step data science and machine learning tutorials.

How to access Llama 2: Free Generative AI LLM Alternative to ChatGPT API Step-by-step tutorial to get Llama 2 API tokens for absolute beginners

How to access Llama 2: Free Generative AI LLM Alternative to ChatGPT API

Llama 2 is a group of large language models (LLMs) developed by Meta. It is an open-source model freely available for research and commercial use. If you are interested in finding a free alternative to the ChatGPT API, Llama 2 is worth checking out. In this tutorial, we will go through how to get access …

How to access Llama 2: Free Generative AI LLM Alternative to ChatGPT API Read More »

Top 60 Machine Learning Interview Questions Commonly Asked Machine Learning Interview Questions Answered

Top 60 Machine Learning Interview Questions

In this tutorial, a list of the most common machine learning interview questions are compiled to help you ace your next interview. Whether you’re a budding data scientist or an experienced machine learning engineer, these questions will help you brush up on your knowledge and set you on the path to success in your next …

Top 60 Machine Learning Interview Questions Read More »

Imbalanced Multi-Label Classification: Balanced Weights May Not Improve Your Model Performance Compare the random forest model and logistic regression model with and without balanced weights on imbalanced multi-class classification

Imbalanced Multi-Label Classification: Balanced Weights May Not Improve Your Model Performance

The balanced weight is a widely used method for imbalanced classification models. It penalizes the wrong predictions about the minority classes by giving more weight to the loss function. In this tutorial, we will talk about how to use balanced weight for the imbalanced multi-label classification. We will cover the following: If you are interested …

Imbalanced Multi-Label Classification: Balanced Weights May Not Improve Your Model Performance Read More »

Time Series Anomaly Detection Using Prophet in Python

Time Series Anomaly Detection Using Prophet in Python

Welcome to GrabNGoInfo! This tutorial will talk about how to do time series anomaly detection using Facebook (Meta) Prophet model in Python. Anomalies are also called outliers, and we will use these two terms interchangeably in this tutorial. After the tutorial, you will learn: Resources for this post: Let’s get started! Step 0: Algorithm for …

Time Series Anomaly Detection Using Prophet in Python Read More »

Sentiment Analysis: Hugging Face Zero-shot Model vs Flair Pre-trained Model Which pre-trained Natual Language Processing (NLP) model has better prediction accuracy for the sentiment analysis, Hugging Face or Flair?

Sentiment Analysis: Hugging Face Zero-shot Model vs Flair Pre-trained Model

There are different methods for sentiment analysis. Some examples are lexicon-based methods, building customized models, using cloud services for sentiment predictions, or using pre-trained language models. In this tutorial, we will compare two state-of-art deep-learning pre-trained models for sentiment analysis, one from Hugging Face, and the other from Flair. We will talk about: Resources for …

Sentiment Analysis: Hugging Face Zero-shot Model vs Flair Pre-trained Model Read More »

Stock price from Yahoo Finance API

Get Free Stock Data From Yahoo Finance API Using Python

There are multiple APIs for pulling stock data, and Yahoo Finance API is the most widely used API for getting free stock data using Python. This article shows how to use Python to get stock data for analysis. Step 1: Install Yahoo Finance API Python Library To install a Python library, run the code below …

Get Free Stock Data From Yahoo Finance API Using Python Read More »

Connect Tableau To Google Drive

How To Connect Tableau To Google Drive

Tableau is a powerful visualization tool. This tutorial shows how to connect Tableau with Google Drive. Once connected, Tableau can read datasets from Google Drive directly. After opening the Tableau, we can follow the steps below to read data from Google Drive. If you prefer the video version of the tutorial, watch the video below …

How To Connect Tableau To Google Drive Read More »

k-means cluster visualization using Python's seaborn

K-Means Clustering Example Code Using Python Scikit Learn

K-Means is a widely used unsupervised model that can group similar objects. This article will go through a step-by-step example of building a k-means clustering model using the Python Scikit Learn library. Step 1: Import Libraries Step 2: Read In Data We are using the iris dataset for this tutorial. This dataset contains 150 records …

K-Means Clustering Example Code Using Python Scikit Learn Read More »

Get Free Text Data From The New York Times API

Get Free Text Data For NLP From The New York Times API

The New York Times developer site provides free text data of different types. In this article, we will go through the process of getting the data step by step. Resources for this post: Step 1: Create an Account And Login Go to https://developer.nytimes.com/ and click Sign In in the upper right corner. Click Create an …

Get Free Text Data For NLP From The New York Times API Read More »