Data Scientist & Tech Writer @KDnuggets @DataCamp @Medium
| Outstand using data - Data Science, AI and Tech |
Join 6k data professionals on https://t.co/VdsUvb9SKu ๐งฉ
Dec 21, 2024 โข 13 tweets โข 4 min read
Logistic Regression clearly explained ๐๐ป
1๏ธโฃ ๐๐ข๐๐๐ฆ๐ง๐๐ ๐ฅ๐๐๐ฅ๐๐ฆ๐ฆ๐๐ข๐ก
It is a binary classification model used to classify our input data into two main categories.
It can be extended to multiple classifications... but today we'll focus on a binary one.
Also known as Simple Logistic Regression.
Dec 18, 2024 โข 12 tweets โข 4 min read
Linear Regression clearly explained ๐๐ป
Linear regression is the simplest statistical regression method used for predictive analysis.
It can be performed with multiple variables.... but today we'll focus on a single one.
Also known as Simple Linear Regression.
Dec 3, 2024 โข 19 tweets โข 4 min read
๐ New to SQL?
Hereโs a roadmap to get you started, step-by-step! ๐งต๐
(Don't forget to bookmark for later!! ๐ ) 1. ๐๐ฒ๐ฎ๐ฟ๐ป๐ถ๐ป๐ด ๐๐ต๐ฒ ๐๐ฎ๐๐ถ๐ฐ๐
Before diving deep, it's essential to grasp what is SQL.
Begin with:
โข What is a Relational Database?
โข Comparing SQL and NoSQL Databases
โข Understanding SQL Syntax and Basic Commands
Nov 11, 2024 โข 10 tweets โข 4 min read
How Python work in our computer clearly explained๐๐ป
1๏ธโฃ ๐ ๐ฒ๐บ๐ผ๐ฟ๐ ๐ฆ๐ต๐ฒ๐น๐๐ฒ๐: ๐ช๐ต๐ฒ๐ฟ๐ฒ ๐ฃ๐๐๐ต๐ผ๐ป ๐ฆ๐๐ผ๐ฟ๐ฒ๐ ๐๐ฎ๐๐ฎ
Imagine your computer's memory as a vast warehouse of shelves.
Each byte is a slot on these shelves.
Python, with your OS's permission, uses this space for its data and code. ๐ข
Nov 10, 2024 โข 13 tweets โข 3 min read
Today let's learn SQL's execution order and its importance ๐๐ป
1๏ธโฃ ๐ฆ๐ค๐ ๐๐ฆ ๐ ๐๐๐๐๐๐ฅ๐๐ง๐๐ฉ๐ ๐๐๐ก๐๐จ๐๐๐
๐ ๐ฐ๐ถ ๐ต๐ฆ๐ญ๐ญ ๐ช๐ต ๐ธ๐ฉ๐ข๐ต ๐บ๐ฐ๐ถ ๐ธ๐ข๐ฏ๐ต, ๐ฏ๐ฐ๐ต ๐ฉ๐ฐ๐ธ ๐ต๐ฐ ๐ฅ๐ฐ ๐ช๐ต.
So SQL expects statements to be written in a specific orderโ...
but their evaluation sequence differs.
Nov 9, 2024 โข 10 tweets โข 4 min read
SQL Joins clearly explained ๐๐ป
1๏ธโฃ ๐๐ฒ๐ณ๐ ๐๐ผ๐ถ๐ป
Left Join returns all records from the left table (A) and the matched records from the right table (B). If there's no match, the result is NULL on the right side.
๐กThink of it as keeping all items in A and filling gaps from B where they exist.
Nov 1, 2024 โข 9 tweets โข 3 min read
Are you the one crafting charts to communicate your data?
Then you better stay with me! ๐ค
Today let's dive into visual encoding and their key role in DataViz! ๐๐ป
Charts are composed of two core components:
- Data
- Visuals
But how do we convert this data into a visual representation?
Say hi to visual encodings! ๐๐ป
Oct 30, 2024 โข 9 tweets โข 3 min read
Struggling to craft effective charts? ๐ค๐
Let's understand ๐๐ต๐ some charts are ๐ถ๐ป๐๐๐ถ๐๐ถ๐๐ฒ ๐๐ป
Think of DataViz as your GPS in the world of numbers.
It turns complex data into clear, actionable insights.
But... why do some charts enlighten us while others don't?
The Gestalt Theory explains how our brains perceive patterns and how to take advantage of them.
The Encoder is the part responsible for processing input tokens through self-attention and feed-forward layers to generate context-aware representations.
๐ Itโs the powerhouse behind understanding sequences in NLP models.
Oct 28, 2024 โข 10 tweets โข 3 min read
Struggling to craft clear charts? ๐ค๐
Let's understand why some charts are misleading and how to avoid it ๐๐ป
First things first, ever heard of the term "ink" in data visualization?
It's not about the ink in your pen.
It refers to any part of a visualization that stands out from the background.
Think lines, bars, points, and even text. ๐๏ธ
Oct 23, 2024 โข 10 tweets โข 3 min read
How to deal with outliers clearly explained ๐๐ป
1๏ธโฃ ๐ช๐ต๐ฎ๐ ๐ถ๐ ๐ฎ๐ป ๐ผ๐๐๐น๐ถ๐ฒ๐ฟ?
Outliers are data points that are very different from the rest of the dataset. They are unrepresentative of the overall data. ๐จ๐
Oct 22, 2024 โข 13 tweets โข 5 min read
Ever felt confused by SQL's execution flow? ๐ค
Then you better stay with me!
Today let's exemplify SQL's execution order with a simple query๐๐ป
1๏ธโฃ ๐ฆ๐ง๐๐ฅ๐ง๐๐ก๐ ๐๐ฅ๐ข๐ ๐ข๐จ๐ฅ ๐ฅ๐๐ช ๐ง๐๐๐๐
We use a dummy table with the salary of employees depending on their field and experience,
๐ฏ Our main goal?
Understand the field that earns the most.
Oct 16, 2024 โข 14 tweets โข 5 min read
The Transformer's decoder clearly explained ๐๐ป
1๏ธโฃ WHAT'S THE DECODER? ๐ฏ
The Decoder is the brain behind transforming encoded inputs and previously generated tokens into context-aware outputs.
Imagine it as the artist who paints the final picture from sketches. ๐๏ธ
Oct 14, 2024 โข 10 tweets โข 3 min read
The Transformers architecture clearly explained ๐๐ป
Today I'm starting a new series of threads to simplify the concept of Transformers and what's behind the Natural Language abilities of LLMs.
Let's start with the basics of the Transformer architecture:
The encoder/decoder concept. ๐ง โจ
Sep 23, 2024 โข 12 tweets โข 4 min read
Support Vector Machine exemplified for dummies ๐๐ป
(Don't forget to save for later ๐)
1๏ธโฃ GETTING THE DATA
Just like stargazing, we begin by gathering our cosmic data.
Thanks to Kaggle, we have real-world data on pulsar stars.
Now, let's decode this celestial Morse code to predict a star's pulse! ๐ซ๐
Sep 20, 2024 โข 14 tweets โข 5 min read
The Transformer's decoder clearly explained ๐๐ป
1๏ธโฃ WHAT'S THE DECODER? ๐ฏ
The Decoder is the brain behind transforming encoded inputs and previously generated tokens into context-aware outputs.
Imagine it as the artist who paints the final picture from sketches. ๐๏ธ
The Encoder is the part responsible for processing input tokens through self-attention and feed-forward layers to generate context-aware representations.
๐ Itโs the powerhouse behind understanding sequences in NLP models.
Like biologists in the wild, we'll use data points to distinguish between them.
Sep 15, 2024 โข 12 tweets โข 4 min read
Multiple-class Logistic Regression clearly explained ๐๐ป
By default, Logistic Regression is like a coin toss - heads or tails, A or B.
But what if you have multiple classes?
That's where we adapt our model for MULTIPLE CHOICES!
There are two main ways:
Jul 28, 2024 โข 10 tweets โข 3 min read
The Transformers architecture clearly explained ๐๐ป
Today I'm starting a new series of threads to simplify the concept of Transformers and what's behind the Natural Language abilities of LLMs.
Let's start with the basics of the Transformer architecture:
The encoder/decoder concept. ๐ง โจ
Jul 2, 2024 โข 7 tweets โข 2 min read
Today I am bringing how JOINs work in both SQL and Python๐๐ป
๐ฆ๐ค๐ ๐ถ๐ ๐ฟ๐ฒ๐ฎ๐น๐น๐ ๐ฐ๐ผ๐ป๐๐ฒ๐ป๐ถ๐ฒ๐ป๐ ๐ณ๐ผ๐ฟ ๐ฑ๐ฎ๐๐ฎ ๐ฎ๐ป๐ฎ๐น๐๐๐ถ๐ฐ๐.
However, there are cases in which the shift towards Python and Pandas is undeniable.
Why?
Pandas can do everything SQL can, and way more.
So let's see how to pass from SQL syntax to Python.