Back

Sanskar

Keen Learner and Exp... • 2m

Day 7 of learning AI/ML as a beginner. Topic: One Hot Encoding and Future roadmap. Now that I have learnt how to clean up the text input a little its time for converting that data into vectors (I am so glad that I have learned it despite getting criticism on my approach). There are various processes to convert this data into useful vectors: 1. One hot encoding 2. Bag of words (BOW) 3. TF - IDF 4. Word2vec 5. AvgWord2vec These are some of the ways we can do so. Today lets talk about One hot encoding. This process is pretty much outdated and is rarely used in real word scenarios however it is important to know why we don't use this and why are there different ways? One hot encoding is a technique used for converting a variable into a binary vector. Its advantage is that it is easy to use in python via scitkit learn and pandas library. Its disadvantages however includes. sparse matrix which can lead to overfitting(when a model performs well on the data its been trained and performs poorly with new one). Then it require only fixed sized input in order to get trained. One hot encoding does not capture sematic meaning. And what about a word being out of the vocabulary. Then it is also not practical to use in real world scenarios as it is not much scalable and may lead to problems in future. I have also attached my notes here explaining all these in much details.

Reply
2

More like this

Recommendations from Medial

Sanskar

Keen Learner and Exp... • 1m

Day 11 of learning AI/ML as a beginner. Topic: TF-IDF (Term Frequency - Inverse Document Frequency). Yesterday I have talked about N-grams and how they are useful in Bag of Words (BOW) however it has some serious drawbacks and for that reason I am

See More
Reply
2
Image Description
Image Description

Acevolt

ENGIPRENEUR's • 1y

Now a days Indian stock market performs a strange it's gave a approx 5.00 percent return in one month even most of the companies PE ratio is not good . What u think it is a bubble ? It's a best time to invest or exit the market ?

3 Replies
5

Sanskar

Keen Learner and Exp... • 2m

Day 2 of learning mathematics for AI/ML as a no math person. Topic: vectors and matrices. We use NumPy python library for these. I got introduced to the concept of vectors and matrices. Vectors are like lists and are divided Vectors are divided in

See More
Reply

Sanskar

Keen Learner and Exp... • 2m

Day 2 of learning mathematics for AI/ML as a no math person. Topic: vectors and matrices. We use NumPy python library for these. I got introduced to the concept of vectors and matrices. Vectors are like lists and are divided Vectors are divided in

See More
Reply
1

Sanskar

Keen Learner and Exp... • 2m

Day 3 of learning mathematics for AI/ML as a no math person. Topic: vectors as a building block. I decided go in much depth regarding vectors as it is one of the foundational topic in machine learning therefore I want to develop a really solid base

See More
Reply
2
Image Description

Mridul Das

Introvert! • 7m

Ola ⚡ rolls out its first Roadster X motorcycle—priced from ₹84,999, with deliveries starting April 2025. The top model offers 501 km/charge! .. let's see how it performs

1 Reply
1
12

gray man

I'm just a normal gu... • 6m

Fintech unicorn Razorpay has taken a significant step toward its initial public offering (IPO) by converting into a public company. According to a regulatory filing, the company secured approval from its members during an extraordinary general meeti

See More
Reply
14

Galaxynine

Hey I am on Medial • 1y

Thanks @ZeptoNow for its new feature Zepto Cafe making it easy to deliver food within 10min, and the food is meant to be consumed when it's hot. It would be nice if you add more food options like Dosa, Biriyani, and more. #zepto #zeptocafe #Instantfo

See More
Reply
2
7

Saranyo Deyasi

I am the exploit • 17d

Developed a project called Zerocool Toolbox — a custom cybersecurity toolkit designed for beginners and enthusiasts. It includes basic tools for hashing, encoding, password analysis, and simple network utilities. My goal is to make cybersecurity lear

See More
Reply
Image Description

Mukund

Building Future • 4m

Hello No team, no agency - just 10 AI creators and one AI system - Find a hot product - Launch a quick Shopify store - Use Some Meta add Strategy to Generate AI video - Auto-generate 350+ UGC videos/day Then 💥 Boom is it really workable? Any AI

See More
1 Reply
6

Download the medial app to read full posts, comements and news.