Josep Ferrer Profile picture
Outstand using data || Data Science, AI and Tech Data Scientist & Analytics Engineer Tech Writer @KDnuggets @DataCamp @Medium Inquiries ๐Ÿ‘‰๐Ÿปrfeers@gmail.com
Tejas Profile picture 1 subscribed
May 19 โ€ข 12 tweets โ€ข 4 min read
Struggling with Machine Learning algorithms? ๐Ÿค–

Then you better stay with me! ๐Ÿค“

Today we're expanding our simple Logistic Regression...
to classy more than 2 classes! ๐Ÿ‘‡๐Ÿป Image 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:
May 14 โ€ข 6 tweets โ€ข 2 min read
Struggling with Machine Learning algorithms? ๐Ÿค–

Then you better stay with me! ๐Ÿค“

Today we're expanding our simple Logistic Regression...
to classy more than 2 classes! ๐Ÿ‘‡๐Ÿป Image 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:
May 4 โ€ข 6 tweets โ€ข 3 min read
Ever feel like Python's simplicity is almost poetic?

Let's dive into the elegant world of Python's structures.

A journey of poetic logic awaits! ๐Ÿš€ Image 1๏ธโƒฃ ๐—ง๐—›๐—˜ ๐—”๐—ฅ๐—ง ๐—ข๐—™ ๐—ช๐—›๐—œ๐—ง๐—˜๐—ฆ๐—ฃ๐—”๐—–๐—˜
Python's beauty lies in its simplicity.

Unlike other languages cluttered with braces and keywords, Python uses plain old indentation to define a program's structure.

It's like poetry for coders! ๐Ÿ“– Image
May 3 โ€ข 9 tweets โ€ข 3 min read
Struggling to trust every chart you see? ๐Ÿค”๐Ÿ“Š

Then, you better learn the ๐—ฃ๐—ฟ๐—ถ๐—ป๐—ฐ๐—ถ๐—ฝ๐—น๐—ฒ ๐—ผ๐—ณ ๐—ฝ๐—ฟ๐—ผ๐—ฝ๐—ผ๐—ฟ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—ถ๐—ป๐—ธ in Data Visualization

Today, I'm unveiling why some charts can be misleading. ๐Ÿ’ฅ Image 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. ๐Ÿ–‹๏ธ Image
Apr 30 โ€ข 7 tweets โ€ข 3 min read
Struggling with Machine Learning algorithms? ๐Ÿค–

Then you better stay with me! ๐Ÿค“

We are going back to the basics to simplify ML algorithms.
... today's turn is Logistic Regression! ๐Ÿ‘‡๐Ÿป Image 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. Image
Apr 28 โ€ข 13 tweets โ€ข 5 min read
Struggling with Machine Learning algorithms? ๐Ÿค–

Then you better stay with me! ๐Ÿค“

We are going back to the basics to simplify ML algorithms.
... today's turn is Multiple Linear Regression! ๐Ÿ‘‡๐Ÿป Image In MLR, imagine you're baking.

You've got different ingredients or variables.

You need the perfect recipe (model) for your cake (prediction).

Each ingredient's quantity (coefficient) affects the taste (outcome).
Apr 27 โ€ข 9 tweets โ€ข 3 min read
Ever felt lost in Python's universe of data types? ๐ŸŒŒ

Then dive into the basics with me today!

Today we're exploring Booleans, Integers, and Floats โ€“ the core elements in Python's data type galaxy! ๐Ÿš€๐Ÿ Image These data types are like the atoms of Python.

We start with them individually and later combine them into larger structures like lists and dictionaries.

It's a journey from simplicity to complexity! Image
Apr 26 โ€ข 8 tweets โ€ข 3 min read
Struggling to craft effective charts? ๐Ÿค”๐Ÿ“Š

Then, you better understand the ๐—š๐—ฒ๐˜€๐˜๐—ฎ๐—น๐˜ ๐—ฃ๐—ฟ๐—ถ๐—ป๐—ฐ๐—ถ๐—ฝ๐—น๐—ฒ๐˜€ in Data Visualization.

Today, I'm unveiling why some charts are intuitive while others are confusing ๐Ÿ’ฅ Image 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. Image
Apr 25 โ€ข 8 tweets โ€ข 3 min read
Struggling with Machine Learning algorithms? ๐Ÿค–

Then you better stay with me! ๐Ÿค“

We are going back to the basics to simplify ML algorithms.
... today's turn is Multiple Linear Regression! ๐Ÿ‘‡๐Ÿป Image 4๏ธโƒฃ ๐— ๐—จ๐—Ÿ๐—ง๐—œ-๐—ฉ๐—”๐—ฅ๐—œ๐—”๐—•๐—Ÿ๐—˜ ๐Ÿ“
We can add multiple variables to perform a MULTIPLE Linear Regression.

The core theory is the same: We still use a linear function to predict our target.

But we can track N independent values

So we can consider both Height and Gender โžก๏ธ N=2 Image
Apr 24 โ€ข 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๐Ÿ‘‡๐Ÿป Image 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. Image
Mar 29 โ€ข 12 tweets โ€ข 2 min read
Want to become a SQL Pro and no idea where to start?

Then, you better...

๐Ÿ‘‰ SAVE these 9 steps to become an SQL Pro! ๐Ÿ‘ˆ Image 1๏ธโƒฃ ๐—™๐—ผ๐˜‚๐—ป๐—ฑ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—ฆ๐—ค๐—Ÿ:
Understand basics like SELECT, WHERE, JOIN, and ORDER BY.

We all need to start from the basics!
Feb 16 โ€ข 8 tweets โ€ข 3 min read
Struggling with Machine Learning algorithms? ๐Ÿค–

Then you better stay with me! ๐Ÿค“

Today I am starting with a new ML model
... so it is the turn of the Support Vector Machine! ๐Ÿ‘‡๐Ÿป Image 0๏ธโƒฃ ๐—ฅ๐—˜๐—–๐—”๐—ฃ
SVM is a ML method that finds the optimal hyperplane separating classes by maximizing margin, using support vectors to ensure the greatest distance between class data points. Image
Jan 28 โ€ข 12 tweets โ€ข 4 min read
Struggling with Machine Learning algorithms? ๐Ÿค–

Then you better stay with me! ๐Ÿค“

Today we're expanding our simple Logistic Regression...
to classy more than 2 classes! ๐Ÿ‘‡๐Ÿป Image 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:
Jan 25 โ€ข 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! ๐Ÿ‘‡๐Ÿป Image 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! ๐Ÿ‘‹๐Ÿป Image
Jan 21 โ€ข 13 tweets โ€ข 5 min read
Struggling with Machine Learning algorithms? ๐Ÿค–

Then you better stay with me! ๐Ÿค“

Today we're exemplifying Logistic Regression...
all set to classify two adorable penguin species! ๐Ÿ‘‡๐Ÿป๐Ÿง๐Ÿ” Image 1๏ธโƒฃ ๐——๐—”๐—ง๐—” ๐—š๐—”๐—ง๐—›๐—˜๐—ฅ๐—œ๐—ก๐—š ๐—ฃ๐—›๐—”๐—ฆ๐—˜
We're using Kaggle to find robust data for our flippered friends.

Meet our stars: the dapper Gentoo and the lovely Adelie!

Like biologists in the wild, we'll use data points to distinguish between them. Image
Jan 14 โ€ข 12 tweets โ€ข 4 min read
Struggling with Machine Learning algorithms? ๐Ÿค–

Then you better stay with me! ๐Ÿค“

Today I am starting with a new ML model
... so it is the turn of Logistic Regression! ๐Ÿ‘‡๐Ÿป Image 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. Image
Jan 13 โ€ข 6 tweets โ€ข 2 min read
Ever feel like Python's simplicity is almost poetic?

Let's dive into the elegant world of Python's structures.

A journey of poetic logic awaits! ๐Ÿš€ Image 1๏ธโƒฃ ๐—ง๐—›๐—˜ ๐—”๐—ฅ๐—ง ๐—ข๐—™ ๐—ช๐—›๐—œ๐—ง๐—˜๐—ฆ๐—ฃ๐—”๐—–๐—˜
Python's beauty lies in its simplicity.

Unlike other languages cluttered with braces and keywords, Python uses plain old indentation to define a program's structure.

It's like poetry for coders! ๐Ÿ“– Image
Jan 12 โ€ข 9 tweets โ€ข 3 min read
Struggling with Machine Learning algorithms? ๐Ÿค–

Then you better stay with me! ๐Ÿค“

Today I am starting with a new ML model
... so it is the turn of Logistic Regression! ๐Ÿ‘‡๐Ÿป Image 0๏ธโƒฃ ๐—ฅ๐—˜๐—–๐—”๐—ฃ
Logistic Regression is your go-to for predicting whether something is YES or NO.

It uses a slick curve to calculate probabilities and a special formula to minimize errors, ensuring your predictions are on point! Image
Jan 11 โ€ข 8 tweets โ€ข 3 min read
Ever stared at a chart and wondered what secret sauce makes it... well, a chart?

It's time to decode the magic behind those bars, lines, and pies.

Today's turn is for what (two) core elements compose the DataViz world! ๐ŸŽจ๐Ÿ“Š Image ๐—ช๐—›๐—”๐—ง ๐— ๐—”๐—ž๐—˜ ๐—”๐—Ÿ๐—Ÿ ๐—–๐—›๐—”๐—ฅ๐—ง๐—ฆ ๐—ง๐—ข ๐—ฅ๐—˜๐—”๐—Ÿ๐—Ÿ๐—ฌ ๐—•๐—˜... ๐—” ๐—–๐—›๐—”๐—ฅ๐—ง?
All charts share two main traits:

- They all communicate data.

- They all have a graphic design. Image
Jan 10 โ€ข 7 tweets โ€ข 3 min read
Struggling with Machine Learning algorithms? ๐Ÿค–

Then you better stay with me! ๐Ÿค“

Today I am starting with a new ML model
... so it is the turn of Logistic Regression! ๐Ÿ‘‡๐Ÿป Image 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. Image
Jan 9 โ€ข 11 tweets โ€ข 3 min read
Struggling with long and complex SQL queries?

Last week, we dived into CTEs and their advantages.

Today, let's see them in action with a real-world example!๐Ÿ‘‡๐Ÿป Image Imagine we have a table of all Airbnb apartments in Barcelona.

Our goal? ๐ŸŽฏ

๐—จ๐—ป๐—ฑ๐—ฒ๐—ฟ๐˜€๐˜๐—ฎ๐—ป๐—ฑ ๐—”๐—ถ๐—ฟ๐—ฏ๐—ป๐—ฏ'๐˜€ ๐—ฝ๐—ฒ๐—ฟ๐—ณ๐—ผ๐—ฟ๐—บ๐—ฎ๐—ป๐—ฐ๐—ฒ ๐—ถ๐—ป ๐—ฒ๐—ฎ๐—ฐ๐—ต ๐—ป๐—ฒ๐—ถ๐—ด๐—ต๐—ฏ๐—ผ๐˜‚๐—ฟ๐—ต๐—ผ๐—ผ๐—ฑ.

And SQL is the perfect tool to do so!