Skip to main content
learning data science

Data Science Tutorials

Develop your data science skills with tutorials in our blog. We cover everything from intricate data visualizations in Tableau to version control features in Git.
Discover categories
GroupTraining 2 or more people?Try DataCamp for Business

Fine-Tuning Gemma 2 and Using it Locally

This is a simple guide to fine-tuning Gemma 2 9B-It on patient-doctor conversations and converting the model into GGUF format so that it can be used locally with the Jan application.

Abid Ali Awan

July 29, 2024

AVL Tree: Complete Guide With Python Implementation

An AVL tree is a self-balancing binary search tree where the height difference between the left and right subtrees of any node is at most one, ensuring efficient operations.
François Aubry's photo

François Aubry

July 29, 2024

Genetic Algorithm: Complete Guide With Python Implementation

A genetic algorithm is a search technique that mimics natural selection to find optimal solutions by iteratively refining a population of candidate solutions.
Amberle McKee's photo

Amberle McKee

July 29, 2024

What is OLAP?

Discover how OLAP (Online Analytical Processing) enhances data analysis by providing rapid, multidimensional exploration for informed business decision-making.
Laiba Siddiqui's photo

Laiba Siddiqui

July 29, 2024

Fine-Tuning Llama 3.1 for Text Classification

Get started with the new Llama models and customize Llama-3.1-8B-It to predict various mental health disorders from the text.
Abid Ali Awan's photo

Abid Ali Awan

July 28, 2024

ScrapeGraphAI Tutorial: Getting Started With AI Web Scraping

ScrapeGraph AI is an open-source tool that simplifies web scraping by automatically extracting structured data from websites, allowing users to interact with and retrieve the data through simple prompts.
Ryan Ong's photo

Ryan Ong

July 28, 2024

What is Cosine Distance?

Explore cosine distance and cosine similarity. Discover calculations, applications, and comparisons with other metrics. Learn to implement in R and Python using numpy.
Vinod Chugani's photo

Vinod Chugani

July 28, 2024

How to Use SQL PIVOT

Enhance your SQL skills with the SQL PIVOT operator. Learn to convert rows into columns to create pivot tables in SQL Server and Oracle.
Allan Ouko's photo

Allan Ouko

July 26, 2024

SQL SUM() Function Explained

Discover the power of the SQL SUM() function for data aggregation. Learn how to implement rolling sums, cumulative sums, and sum multiple columns effectively.
Allan Ouko's photo

Allan Ouko

August 15, 2024

Stochastic Gradient Descent in Python: A Complete Guide for ML Optimization

Learn Stochastic Gradient Descent, an essential optimization technique for machine learning, with this comprehensive Python guide. Perfect for beginners and experts.
Bex Tuychiev's photo

Bex Tuychiev

July 24, 2024

How to Round Up a Number in Python

Discover three straightforward techniques to round up numbers in Python: using math.ceil() from the math module, using the decimal module, and NumPy.
Allan Ouko's photo

Allan Ouko

July 22, 2024

Zero-Shot Prompting: Examples, Theory, Use Cases

Zero-shot prompting is a technique in which an AI model is given a task or question without any prior examples or specific training on that task, relying solely on its pre-existing knowledge to generate a response.
Dr Ana Rojo-Echeburúa's photo

Dr Ana Rojo-Echeburúa

July 21, 2024