Machine Learning


Гео и язык канала: не указан, не указан
Категория: не указана



Гео и язык канала
не указан, не указан
Категория
не указана
Статистика
Фильтр публикаций


Feature Scaling: Why Feature Scaling Affects Model Training

Feature scaling is often overlooked because it seems like just another data preprocessing step. However, in practice, it often helps models train faster and more stably. Imagine one feature has values ranging from 0 to 1, while another has values ranging from 0 to 10,000. Although both features may be equally important for prediction, it's more difficult for the optimizer to work with such data.

This means it has to take more steps to find a good solution. Additionally, regularization becomes less effective because features with different scales require coefficients of different magnitudes. Let's look at how this looks in a simple example.

Install dependencies:
pip install numpy scikit-learn
Import libraries:
import numpy as np
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import roc_auc_score
Let's create a small synthetic dataset. It will have two features: the first has a normal scale, and the second is about a thousand times larger.

Importantly, both features actually influence the target variable. That is, the only difference between them is the scale.
np.random.seed(42)
x_small = np.random.normal(0, 1, 300)
x_large = np.random.normal(0, 1000, 300)

X = np.vstack([x_small, x_large]).T

y = (x_small + 0.001 * x_large > 0).astype(int)
Now, let's split the data into training and testing sets. We won't scale anything yet—first, let's see how the model behaves on the original data.
X_train, X_test, y_train, y_test = train_test_split(
X, y,
test_size=0.3,
random_state=42,
stratify=y
)
Let's train a logistic regression model without scaling.

In addition to the model's quality, let's also look at the number of iterations (n_iter_). This metric shows how much work the optimizer had to do to find the coefficients.
model = LogisticRegression()
model.fit(X_train, y_train)

pred = model.predict_proba(X_test)[:, 1]

print("ROC-AUC:", roc_auc_score(y_test, pred))
print("Iterations:", model.n_iter_)
Now, let's scale the features to the same scale using StandardScaler.

It calculates the mean and standard deviation only for the training set and then uses the same values for the test set. This is important because the model should not "peek" at the test data during training.

After this transformation, both features are approximately on the same scale, and it becomes easier for the optimizer to work with them.
scaler = StandardScaler()

X_train_scaled = scaler.fit_transform(X_train)
X_test_scaled = scaler.transform(X_test)
Now, let's retrain the model.

We're using the same model, the same data, and the same parameters. The only difference is that the features are now scaled.
model = LogisticRegression()
model.fit(X_train_scaled, y_train)

pred = model.predict_proba(X_test_scaled)[:, 1]

print("ROC-AUC (scaled):", roc_auc_score(y_test, pred))
print("Iterations (scaled):", model.n_iter_)
Most often, the ROC-AUC doesn't change much. However, the number of iterations becomes smaller. This means that the optimizer found a solution faster, and the training was more stable.

🔥 Feature scaling is a simple data preprocessing step that, in many cases, allows the model to train faster and more stably. For logistic regression, SVMs, neural networks, and other algorithms that use numerical optimization, it's best not to skip it.

✨ #DataScience #MachineLearning #Python #Coding #Tech #AI

Claim your Free $5 Bonus Here:
https://bit.ly/3wUxw09

LinkedIn profile 👇

https://www.linkedin.com/in/subarno-roy-3b2251374

1️⃣ Big Data
📎 Channel Link:
[ https://t.me/bigdataofficial ]

2️⃣ Machine Learning
📎 Channel Link:
[ https://t.me/machinelearningofficial ]

3️⃣ Cloud Computing
📎 Channel Link:
[ https://t.me/cloudcomputing_official ]

4️⃣ Python
📎 Channel Link:
[ https://t.me/python_programming_resources ]


Репост из: GROUP FOR PROGRAMMERS🖥
🎯 GATE 2027 CSE CRASH COURSE – HYDERABAD 🔥
📚 Prepare Smart. Learn from the Best. Crack GATE!
🚀 GATE 2027 Crash Course – CSE

👨‍🏫 Learn from experienced GATE CS/IT & DA Faculty
📅 Batch Starts Tomorrow – 21st August 2026

💰 Get an EXTRA ₹1,000 OFF!

🎟️ Use Coupon Code: GFGGATE1000

💻 Major Subjects Covered:

✅ Python
✅ Aptitude
✅ COA & DBMS
✅ AI/ML
✅ TOC & Compiler Design
✅ OS & Algorithms
✅ Data Structures & C
✅ Digital Logic
✅ Discrete Mathematics
✅ Engineering Mathematics
✅ Computer Networks
🎯 Ideal for: GATE 2027 CSE Aspirants

🔗 Join Now:
https://gfgcdn.com/tu/116G/

🔥 Start your GATE 2027 preparation today!


Репост из: GROUP FOR PROGRAMMERS🖥
You can connect or follow me on Linked[in]

https://www.linkedin.com/in/subarno-roy-3b2251374


Репост из: GROUP FOR PROGRAMMERS🖥
If you want to prepare for GATE CSE we have got an exclusive offer from GeeksForGeeks for our community members. We can provide our community members GeeksForGeeks GATE CSE course at only 7,999/-.
Опрос
  •   Yes, I will buy a GATE CSE course for 7,999/-.
  •   No, I am not interested.
111 голосов


Claim your Free $5 Bonus Here:
https://bit.ly/3wUxw09

Join our WhatsApp Channel 👇

https://whatsapp.com/channel/0029VbAi27y0lwghBe9mE42i

WhatsApp Community Link 👇

https://chat.whatsapp.com/HPJDqRr6G1sKQIqfdJF3pL

1️⃣ Big Data
📎 Channel Link:
[ https://t.me/bigdataofficial ]

---

2️⃣ Machine Learning
📎 Channel Link:
[ https://t.me/machinelearningofficial ]

---

3️⃣ Cloud Computing
📎 Channel Link:
[ https://t.me/cloudcomputing_official ]

---

4️⃣ Python
📎 Channel Link:
[ https://t.me/python_programming_resources ]

Share with your College Whatsapp Groups & Friends too

All the best 👍👍


Репост из: GROUP FOR PROGRAMMERS🖥
𝗧𝗵𝗼𝘀𝗲 𝘄𝗵𝗼 𝘄𝗮𝗻𝘁 𝗿𝗲𝗳𝗲𝗿𝗿𝗮𝗹𝘀 𝗮𝗻𝗱 𝗝𝗼𝗯𝘀 𝗮𝗻𝗱 𝗜𝗻𝘁𝗲𝗿𝗻𝘀𝗵𝗶𝗽𝘀 𝗼𝗽𝗽𝗼𝗿𝘁𝘂𝗻𝗶𝘁𝗶𝗲𝘀 𝗳𝗿𝗼𝗺 𝗧𝗼𝗽 𝗣𝗿𝗼𝗱𝘂𝗰𝘁 𝗕𝗮𝘀𝗲𝗱, 𝗦𝗲𝗿𝘃𝗶𝗰𝗲 𝗕𝗮𝘀𝗲𝗱 𝗮𝗻𝗱 𝗦𝘁𝗮𝗿𝘁 𝘂𝗽  𝗖𝗼𝗺𝗽𝗮𝗻𝗶𝗲𝘀 𝗹𝗶𝗸𝗲 𝗔𝗺𝗮𝘇𝗼𝗻, 𝗚𝗼𝗼𝗴𝗹𝗲,  𝗔𝗽𝗽𝗹𝗲, 𝗠𝗶𝗰𝗿𝗼𝘀𝗼𝗳𝘁, 𝗜𝗕𝗠, 𝗧𝗖𝗦, 𝗖𝗼𝗴𝗻𝗶𝘇𝗮𝗻𝘁, 𝗪𝗶𝗽𝗿𝗼, 𝗖𝗧𝗦, 𝗚𝗼𝗹𝗱𝗺𝗮𝗻 𝗦𝗮𝗰𝗵𝘀, 𝗢𝗹𝗮, 𝗨𝗯𝗲𝗿, 𝗭𝗼𝗺𝗮𝘁𝗼, 𝗦𝘄𝗶𝗴𝗴𝘆, 𝘂𝗽𝗚𝗿𝗮𝗱, 𝗖𝘂𝗿𝗲 𝗙𝗶𝘁, 𝗛𝗮𝗰𝗸𝗲𝗿𝗿𝗮𝗻𝗸, 𝗚𝗲𝗲𝗸𝘀𝗳𝗼𝗿𝗴𝗲𝗲𝗸𝘀 𝗮𝗻𝗱 𝗺𝗮𝗻𝘆 𝗺𝗼𝗿𝗲, 𝗰𝗮𝗻 𝗷𝗼𝗶𝗻 𝘁𝗵𝗲 𝗯𝗲𝗹𝗼𝘄 network.

Join WhatsApp Channel👇

https://whatsapp.com/channel/0029VbAi27y0lwghBe9mE42i

WhatsApp Community Link👇

https://chat.whatsapp.com/HPJDqRr6G1sKQIqfdJF3pL

LinkedIn profile👇

https://www.linkedin.com/in/subarno-roy-3b2251374

1️⃣ Jobs and Internships Updates
📎 Channel Link:
[ https://t.me/jobsandinternshipsupdates ]

---

2️⃣ Jobs and Internships India
📎 Channel Link:
[ https://t.me/jobsandinternshipsindia ]

---

3️⃣ GROUP FOR PROGRAMMERS🖥
📎 Channel Link:
[ https://t.me/realgroupforprogrammer ]

𝗟𝗮𝘁𝗲𝘀𝘁 𝗝𝗼𝗯𝘀 𝗮𝗻𝗱 𝗜𝗻𝘁𝗲𝗿𝗻𝘀𝗵𝗶𝗽𝘀 𝗨𝗽𝗱𝗮𝘁𝗲𝘀 𝗳𝗼𝗿 𝟮𝟬𝟭𝟳, 𝟮𝟬𝟭𝟴, 𝟮𝟬𝟭𝟵, 𝟮𝟬𝟮𝟬, 𝟮𝟬𝟮𝟭, 𝟮𝟬𝟮𝟮, 𝟮𝟬𝟮𝟯, 𝟮𝟬𝟮𝟰, 𝟮𝟬𝟮𝟱, 𝟮𝟬𝟮𝟲, 𝟮𝟬𝟮𝟳, 𝟮𝟬𝟮𝟴 𝗮𝗻𝗱 𝟮𝟬𝟮𝟵 𝗕𝗮𝘁𝗰𝗵.

Share with your College Whatsapp Groups & Friends.

All the best👍👍


Репост из: GROUP FOR PROGRAMMERS🖥
❤️ Here is the list of highly recommended Telegram channels for your free learning ❤️

Get Free courses with Certificates from top companies
👇👇


https://t.me/realgroupforprogrammer

https://t.me/Coding_CommunityOfficial

https://t.me/programmingbay

https://t.me/programmings_guide

https://t.me/freecoursesupdates

Jobs and Internships Updates:

https://t.me/jobsandinternshipsupdates

https://t.me/jobsandinternshipsindia

Data Structures and Algorithms:

https://t.me/datastructuresandalgoofficial

Web Development and Web Design:

https://t.me/webdevelopment_official

https://t.me/webdevelopmentanddesigning

https://t.me/webdevelopmentandwebdesigning

DevOps:

https://t.me/DevOpsofficial

https://t.me/DevOps_official

Software Development:

https://t.me/softwaredevelopmentofficial

https://t.me/softwaredevelopment_official

Data Science:

https://t.me/datascience_official

https://t.me/datascienceofficial

Big Data:

https://t.me/bigdata_official

https://t.me/bigdataofficial

Machine Learning:

https://t.me/machinelearning_official

https://t.me/machinelearningofficial

Cloud Computing:

https://t.me/cloudcomputingofficial

https://t.me/cloudcomputing_official

Deep Learning:

https://t.me/deeplearningofficial

Python:

https://t.me/python_programming_resources

Programming Books:

https://t.me/programmingbooks_official

https://t.me/programmingbooksofficial

Artificial Intelligence:

https://t.me/artificialintelligence_official

Android Development:

https://t.me/androiddevelopment_official

https://t.me/androiddevelopmentofficial

App Development:

https://t.me/appdevelopment_official

https://t.me/appdevelopmentofficial

Ethical Hacking

https://t.me/ethicalhacking_official

Digital Marketing

https://t.me/digitalmarketing_official

Happy Learning 👍


🚀 Looking for a portfolio-ready NLP project?

I recently published an end-to-end walkthrough on Towards Data Science using Kaggle’s Spooky Author Identification dataset.

You’ll see how far classical NLP can go with:

📝 Bag-of-Words and TF-IDF
🔤 Character n-grams
📊 Model comparison
🧩 Ensemble stacking

It’s a practical project for anyone preparing for an ML/DS role, with no deep learning required. I walk through the entire workflow step by step:

🔗 https://towardsdatascience.com/how-far-can-classical-nlp-go-from-bag-of-words-to-stacking-on-spooky-author-identification/


Claim your Free $5 Bonus Here:
https://bit.ly/3wUxw09

Join our WhatsApp Channel 👇

https://whatsapp.com/channel/0029VbAi27y0lwghBe9mE42i

WhatsApp Community Link 👇

https://chat.whatsapp.com/HPJDqRr6G1sKQIqfdJF3pL

1️⃣ Big Data
📎 Channel Link:
[ https://t.me/bigdataofficial ]

---

2️⃣ Machine Learning
📎 Channel Link:
[ https://t.me/machinelearningofficial ]

---

3️⃣ Cloud Computing
📎 Channel Link:
[ https://t.me/cloudcomputing_official ]

---

4️⃣ Python
📎 Channel Link:
[ https://t.me/python_programming_resources ]

Share with your College Whatsapp Groups & Friends too

All the best 👍👍


Репост из: GROUP FOR PROGRAMMERS🖥
Together we conquer 📚🤝💪

🎯 Government Examination Aspirants – Join the Community of Future Officers! 🇮🇳

Preparing for SSC, UPSC, Banking, Railway, PSC, Defence, Teaching, or other Government Exams?

📚 Join our WhatsApp group “Government Examination Aspirants” and get:

✅ Study Materials & Notes
✅ Exam Updates & Notifications
✅ Daily MCQs & Practice Questions
✅ Motivation & Peer Support
✅ Strategy Discussions & Guidance


🚀 Don’t prepare alone — grow with serious aspirants and stay ahead in your preparation journey.

🔗 Join Now:

WhatsApp Community👇

https://chat.whatsapp.com/BDxpmaletwz2BRLw8o3Hhv

WhatsApp Group👇

https://chat.whatsapp.com/DuXvf8ojlLT4Ebq0cSeh3z

WhatsApp Channel👇

https://whatsapp.com/channel/0029Vb8MXRs35fLnGxHpRL40

Telegram Channel👇

https://t.me/Government_Examination_Aspirant

Your government job journey starts here! 💯


Репост из: GROUP FOR PROGRAMMERS🖥
How many of you are preparing for Indian Central Government Examinations?
Опрос
  •   Yes, I am preparing.
  •   Currently not, but in future.
  •   No, I am not interested.
399 голосов


Репост из: GROUP FOR PROGRAMMERS🖥
For paid promotion
Contact to 👉 @tcpl20


Репост из: GROUP FOR PROGRAMMERS🖥
🚨 Earn Passive Money Easily 🚨

Since your device is already connected to the internet, you can actually get paid for the data you aren't using.

Honeygain is a trusted app that runs quietly in the background of your phone or PC. It just securely shares your unused bandwidth with researchers and pays you for it. Your connection stays 100% encrypted, and it never accesses your personal data, files, or browsing history.

🎁 Official Bonus:
If you use the invite link below, you get an instant $5 starting bonus to help you reach your first cash payout faster.

👇 How to set it up in 2 minutes:

1. Click the link and create your free account:
https://bit.ly/3wUxw09

2. Download the app (works on Android, Windows, Mac, or Linux).

3. Log in, let it run in the background, and collect your passive income.


🔗 Claim your free $5 Bonus here:
https://bit.ly/3wUxw09

💡 Pro-Tip: You can connect both your phone and your laptop to the same account to double your earning speed!


Репост из: GROUP FOR PROGRAMMERS🖥
Challenge Name: TVS Credit EPIC

Eligibility: 2nd, 3rd and 4th year students are eligible to participate.

● Direct Interview opportunity and PPI
● Cash prizes
● Participation Certificates

Apply Link:
https://bit.ly/TVS_Credit_Challenge

Do share with your Friends too


Understanding Datasets

Free Courses With Certificates👇
https://bit.ly/Free_Courses_With_Certificates

Upload CV Get Dream Job Here👇
https://bit.ly/Dream_Job_Internship

Claim your Free $5 Bonus Here:
https://bit.ly/3wUxw09

Join our WhatsApp Channel 👇

https://whatsapp.com/channel/0029VbAi27y0lwghBe9mE42i

WhatsApp Community Link 👇

https://chat.whatsapp.com/HPJDqRr6G1sKQIqfdJF3pL

1️⃣ Big Data
📎 Channel Link:
[ https://t.me/bigdata_official ]

---

2️⃣ Machine Learning
📎 Channel Link:
[ https://t.me/machinelearning_official ]

---

3️⃣ Cloud Computing
📎 Channel Link:
[ https://t.me/cloudcomputingofficial ]

---

4️⃣ Deep Learning
📎 Channel Link:
[ https://t.me/deeplearningofficial ]

Share with your College Whatsapp Groups & Friends too

All the best 👍👍


🔰 Important python functions


Free Courses With Certificates👇
https://bit.ly/Free_Courses_With_Certificates

Upload CV Get Dream Job Here👇
https://bit.ly/Dream_Job_Internship

Claim your Free $5 Bonus Here:
https://bit.ly/3wUxw09

Join our WhatsApp Channel 👇

https://whatsapp.com/channel/0029VbAi27y0lwghBe9mE42i

WhatsApp Community Link 👇

https://chat.whatsapp.com/HPJDqRr6G1sKQIqfdJF3pL

1️⃣ Big Data
📎 Channel Link:
[ https://t.me/bigdata_official ]

---

2️⃣ Machine Learning
📎 Channel Link:
[ https://t.me/machinelearning_official ]

---

3️⃣ Cloud Computing
📎 Channel Link:
[ https://t.me/cloudcomputingofficial ]

---

4️⃣ Deep Learning
📎 Channel Link:
[ https://t.me/deeplearningofficial ]

Share with your College Whatsapp Groups & Friends too

All the best 👍👍


Репост из: GROUP FOR PROGRAMMERS🖥
BJAK is hiring Software Engineer (Backend)
For 2023, 2024, 2025 grads

📌Apply Now:

https://jobs.ashbyhq.com/bjakcareer/91d1eff2-5941-4842-be80-568701debc16

Free Courses With Certificates👇
https://bit.ly/Free_Courses_With_Certificates

Upload CV Get Dream Job Here👇
https://bit.ly/Dream_Job_Internship

Claim your Free $5 Bonus Here👇
https://bit.ly/3wUxw09

Join our WhatsApp Channel 👇

https://whatsapp.com/channel/0029VbAi27y0lwghBe9mE42i

WhatsApp Community Link 👇

https://chat.whatsapp.com/HPJDqRr6G1sKQIqfdJF3pL

1️⃣ Jobs and Internships Updates
📎 Channel Link:
[ https://t.me/jobsandinternshipsupdates ]

---

2️⃣ Jobs and Internships India
📎 Channel Link:
[ https://t.me/jobsandinternshipsindia ]

---

3️⃣ GROUP FOR PROGRAMMERS🖥
📎 Channel Link:
[ https://t.me/realgroupforprogrammer ]

Share with your College Whatsapp Groups & Friends too

All the best 👍👍


Репост из: GROUP FOR PROGRAMMERS🖥
carelon care solutions is hiring Associate Software Engineer
For 2024, 2025 grads
Location: Multiple

📌Apply Now:

https://elevancehealth.wd1.myworkdayjobs.com/carelonglobal_in/job/IND-KA-Bengaluru-Bagmane-Solarium-City/Associate-Software-Engineer---III_JR200918

Free Courses With Certificates👇
https://bit.ly/Free_Courses_With_Certificates

Upload CV Get Dream Job Here👇
https://bit.ly/Dream_Job_Internship

Claim your Free $5 Bonus Here👇
https://bit.ly/3wUxw09

Join our WhatsApp Channel 👇

https://whatsapp.com/channel/0029VbAi27y0lwghBe9mE42i

WhatsApp Community Link 👇

https://chat.whatsapp.com/HPJDqRr6G1sKQIqfdJF3pL

1️⃣ Jobs and Internships Updates
📎 Channel Link:
[ https://t.me/jobsandinternshipsupdates ]

---

2️⃣ Jobs and Internships India
📎 Channel Link:
[ https://t.me/jobsandinternshipsindia ]

---

3️⃣ GROUP FOR PROGRAMMERS🖥
📎 Channel Link:
[ https://t.me/realgroupforprogrammer ]

Share with your College Whatsapp Groups & Friends too

All the best 👍👍


Репост из: Jobs and Internships India
fmg is hiring Software Engineer Intern (PHP & Java)
For 2026, 2027 grads
Location: Bangalore

📌Apply Now:

https://fridaymediagroup.com/open-positions/software-engineer-intern-

Free Courses With Certificates👇
https://bit.ly/Free_Courses_With_Certificates

Upload CV Get Dream Job Here👇
https://bit.ly/Dream_Job_Internship

Claim your Free $5 Bonus Here👇
https://bit.ly/3wUxw09

Join our WhatsApp Channel 👇

https://whatsapp.com/channel/0029VbAi27y0lwghBe9mE42i

WhatsApp Community Link 👇

https://chat.whatsapp.com/HPJDqRr6G1sKQIqfdJF3pL

1️⃣ Jobs and Internships Updates
📎 Channel Link:
[ https://t.me/jobsandinternshipsupdates ]

---

2️⃣ Jobs and Internships India
📎 Channel Link:
[ https://t.me/jobsandinternshipsindia ]

---

3️⃣ GROUP FOR PROGRAMMERS🖥
📎 Channel Link:
[ https://t.me/realgroupforprogrammer ]

Share with your College Whatsapp Groups & Friends too

All the best 👍👍


Репост из: Jobs and Internships India
ACI Worldwide is hiring for Software Engineer
Batch: 2023, 2024, 2025

📌Apply Now:
https://ebwg.fa.us2.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX/job/18478

Free Courses With Certificates👇
https://bit.ly/Free_Courses_With_Certificates

Upload CV Get Dream Job Here👇
https://bit.ly/Dream_Job_Internship

Claim your Free $5 Bonus Here👇
https://bit.ly/3wUxw09

Join our WhatsApp Channel 👇

https://whatsapp.com/channel/0029VbAi27y0lwghBe9mE42i

WhatsApp Community Link 👇

https://chat.whatsapp.com/HPJDqRr6G1sKQIqfdJF3pL

1️⃣ Jobs and Internships Updates
📎 Channel Link:
[ https://t.me/jobsandinternshipsupdates ]

---

2️⃣ Jobs and Internships India
📎 Channel Link:
[ https://t.me/jobsandinternshipsindia ]

---

3️⃣ GROUP FOR PROGRAMMERS🖥
📎 Channel Link:
[ https://t.me/realgroupforprogrammer ]

Share with your College Whatsapp Groups & Friends too

All the best 👍👍


Репост из: Jobs and Internships Updates
American Express is hiring for Software Engineer I
Batch: 2024, 2025, 2026

📌Apply Now:

https://egug.fa.us2.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1/job/26010683

Free Courses With Certificates👇
https://bit.ly/Free_Courses_With_Certificates

Upload CV Get Dream Job Here👇
https://bit.ly/Dream_Job_Internship

Claim your Free $5 Bonus Here👇
https://bit.ly/3wUxw09

Join our WhatsApp Channel 👇

https://whatsapp.com/channel/0029VbAi27y0lwghBe9mE42i

WhatsApp Community Link 👇

https://chat.whatsapp.com/HPJDqRr6G1sKQIqfdJF3pL

1️⃣ Jobs and Internships Updates
📎 Channel Link:
[ https://t.me/jobsandinternshipsupdates ]

---

2️⃣ Jobs and Internships India
📎 Channel Link:
[ https://t.me/jobsandinternshipsindia ]

---

3️⃣ GROUP FOR PROGRAMMERS🖥
📎 Channel Link:
[ https://t.me/realgroupforprogrammer ]

Share with your College Whatsapp Groups & Friends too

All the best 👍👍

Показано 20 последних публикаций.