---
title: "Discussion on \"Machine Learning Chapter 1: Data Preprocessing\" | Hashnode"
description: "Discussion on \"Machine Learning Chapter 1: Data Preprocessing\". Hey there! Welcome to Chapter 1 on Data Preprocessing!\nBefore getting into Machine Learning, let me tell you what you'll need:\n\nEducational requirement: Just some high school math, DSA (in python)\n  (Probability and statistics will help you a lot. I ..."
url: "https://hashnode.com/posts/machine-learning-chapter-1-data-preprocessing/670ebb39d4f49b247dca6e80"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Machine Learning Chapter 1: Data Preprocessing](https://mahia.hashnode.dev/machine-learning-chapter-1-data-preprocessing?utm_source=hashnode&utm_medium=feed)

Hey there! Welcome to Chapter 1 on Data Preprocessing! Before getting into Machine Learning, let me tell you what you'll need: Educational requirement: Just some high school math, DSA (in python) (Probability and statistics will help you a lot. I ...

Oct 15, 2024 · 17 min read · mahia.hashnode.dev  
Updated Oct 18, 2024  
Read the article

-   [#machine-learning-template](https://hashnode.com/tag/machine-learning-template)
-   [#ml](https://hashnode.com/tag/ml)
-   [#machine-learning](https://hashnode.com/tag/machine-learning)
-   [#machine-learning-models](https://hashnode.com/tag/machine-learning-models)
-   [#machine-learning-with-python-course](https://hashnode.com/tag/machine-learning-with-python-course)
-   [#python](https://hashnode.com/tag/python)
-   [#advanced](https://hashnode.com/tag/advanced)
-   [#data-science](https://hashnode.com/tag/data-science)
-   [#data](https://hashnode.com/tag/data)
-   [#data-preprocessing](https://hashnode.com/tag/data-preprocessing)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Fatima Jannet](https://hashnode.com/@fatimaJannet)

@fatimaJannet · Dhaka, Bangladesh

  
[View profile](https://hashnode.com/@fatimaJannet)

## Responses 2

Markdown supported · ⌘↵ to post

[Ishrak Howlader](https://hashnode.com/@Orneykraken)

[Oct 18, 2024](https://hashnode.com/posts/machine-learning-chapter-1-data-preprocessing/670ebb39d4f49b247dca6e80/comment/67127a4abce2a1af723f1a48)

First of all thank you for a great blog. So i run into a problem. after scaling the dataset, my x\_test is not giving me dummy values, its aslo giving SD and mean

[Fatima Jannet](https://hashnode.com/@fatimaJannet)

[Oct 18, 2024](https://hashnode.com/posts/machine-learning-chapter-1-data-preprocessing/670ebb39d4f49b247dca6e80/comment/67127a4abce2a1af723f1a48#reply-67128f880cc3e75934c1b702)

We apply feature scaling on training set only. so apply it on x\_train, not x\_test

[Sorder R. Hassan](https://hashnode.com/@sorder)

[Oct 18, 2024](https://hashnode.com/posts/machine-learning-chapter-1-data-preprocessing/670ebb39d4f49b247dca6e80/comment/671211b70f33fc5b1c5d326a)

Excellent blog apu. Although, new python guys might face trouble with indexing. I caught on with the indexing system. Adding regular list indexing, then pandas and numpy indexing example at the begging part could give an ease.

[Fatima Jannet](https://hashnode.com/@fatimaJannet)

[Oct 18, 2024](https://hashnode.com/posts/machine-learning-chapter-1-data-preprocessing/670ebb39d4f49b247dca6e80/comment/671211b70f33fc5b1c5d326a#reply-6712611aef4657f9d0e2f897)

yes, the indexing part was bit confusing. I'll update the indexing asap. Thanks for your suggestion

[Fatima Jannet](https://hashnode.com/@fatimaJannet)

[Oct 18, 2024](https://hashnode.com/posts/machine-learning-chapter-1-data-preprocessing/670ebb39d4f49b247dca6e80/comment/671211b70f33fc5b1c5d326a#reply-67126788c4555e4093227c3f)

I've updated the blog. In the contents, it's right after OOP. Also, did you face any trouble downloading the datasheet and copying the colab file? Let me know
