fa
Feedback

فریب کلاهبرداران را نخورید! تل‌متریو این کانال‌ها را شناسایی و برچسب‌گذاری می‌کند 👉 برای مشاهده برچسب، اشتراک تهیه کنید

Epython Lab

Epython Lab

رفتن به کانال در Telegram

Welcome to Epython Lab, where you can get resources to learn, one-on-one trainings on machine learning, business analytics, and Python, and solutions for business problems. Buy ads: https://telega.io/c/epythonlab

نمایش بیشتر
6 110
مشترکین
اطلاعاتی وجود ندارد24 ساعت
-117 روز
-4730 روز

در حال بارگذاری داده‌ها

جذب مشترکین
اکتبر '26
اکتبر '26
+23
در 0 کانال‌ها
سپتامبر '26
+22
در 0 کانال‌ها
Get PRO
اوت '26
+22
در 0 کانال‌ها
Get PRO
ژوئیه '26
+35
در 0 کانال‌ها
Get PRO
ژوئن '26
+57
در 0 کانال‌ها
Get PRO
مه '26
+32
در 0 کانال‌ها
Get PRO
آوریل '26
+23
در 0 کانال‌ها
Get PRO
مارس '26
+30
در 0 کانال‌ها
Get PRO
فوریه '26
+18
در 0 کانال‌ها
Get PRO
ژانویه '26
+22
در 0 کانال‌ها
Get PRO
دسامبر '25
+43
در 0 کانال‌ها
Get PRO
نوامبر '25
+23
در 0 کانال‌ها
Get PRO
اکتبر '25
+14
در 0 کانال‌ها
Get PRO
سپتامبر '25
+32
در 0 کانال‌ها
Get PRO
اوت '25
+48
در 0 کانال‌ها
Get PRO
ژوئیه '25
+32
در 0 کانال‌ها
Get PRO
ژوئن '25
+38
در 0 کانال‌ها
Get PRO
مه '25
+50
در 0 کانال‌ها
Get PRO
آوریل '25
+63
در 0 کانال‌ها
Get PRO
مارس '25
+84
در 0 کانال‌ها
Get PRO
فوریه '25
+64
در 0 کانال‌ها
Get PRO
ژانویه '25
+96
در 0 کانال‌ها
Get PRO
دسامبر '24
+43
در 0 کانال‌ها
Get PRO
نوامبر '24
+79
در 0 کانال‌ها
Get PRO
اکتبر '24
+111
در 0 کانال‌ها
Get PRO
سپتامبر '24
+66
در 0 کانال‌ها
Get PRO
اوت '24
+228
در 0 کانال‌ها
Get PRO
ژوئیه '24
+75
در 0 کانال‌ها
Get PRO
ژوئن '24
+134
در 0 کانال‌ها
Get PRO
مه '24
+163
در 1 کانال‌ها
Get PRO
آوریل '24
+171
در 0 کانال‌ها
Get PRO
مارس '24
+145
در 0 کانال‌ها
Get PRO
فوریه '24
+140
در 0 کانال‌ها
Get PRO
ژانویه '24
+450
در 0 کانال‌ها
Get PRO
دسامبر '23
+141
در 0 کانال‌ها
Get PRO
نوامبر '23
+198
در 0 کانال‌ها
Get PRO
اکتبر '23
+421
در 0 کانال‌ها
Get PRO
سپتامبر '23
+263
در 0 کانال‌ها
Get PRO
اوت '23
+208
در 0 کانال‌ها
Get PRO
ژوئیه '23
+84
در 0 کانال‌ها
Get PRO
ژوئن '23
+208
در 0 کانال‌ها
Get PRO
مه '23
+156
در 0 کانال‌ها
Get PRO
آوریل '23
+134
در 0 کانال‌ها
Get PRO
مارس '23
+125
در 0 کانال‌ها
Get PRO
فوریه '23
+95
در 0 کانال‌ها
Get PRO
ژانویه '23
+473
در 0 کانال‌ها
Get PRO
دسامبر '22
+97
در 0 کانال‌ها
Get PRO
نوامبر '22
+100
در 0 کانال‌ها
Get PRO
اکتبر '22
+100
در 0 کانال‌ها
Get PRO
سپتامبر '22
+74
در 0 کانال‌ها
Get PRO
اوت '22
+192
در 0 کانال‌ها
Get PRO
ژوئیه '22
+122
در 0 کانال‌ها
Get PRO
ژوئن '22
+171
در 0 کانال‌ها
Get PRO
مه '22
+193
در 0 کانال‌ها
Get PRO
آوریل '22
+284
در 0 کانال‌ها
Get PRO
مارس '22
+561
در 0 کانال‌ها
Get PRO
فوریه '22
+175
در 0 کانال‌ها
Get PRO
ژانویه '22
+411
در 0 کانال‌ها
Get PRO
دسامبر '21
+178
در 0 کانال‌ها
Get PRO
نوامبر '21
+77
در 0 کانال‌ها
Get PRO
اکتبر '21
+172
در 0 کانال‌ها
Get PRO
سپتامبر '21
+68
در 0 کانال‌ها
Get PRO
اوت '21
+63
در 0 کانال‌ها
Get PRO
ژوئیه '21
+172
در 0 کانال‌ها
Get PRO
ژوئن '21
+67
در 0 کانال‌ها
Get PRO
مه '21
+475
در 0 کانال‌ها
Get PRO
آوریل '21
+266
در 0 کانال‌ها
Get PRO
مارس '21
+956
در 0 کانال‌ها
Get PRO
فوریه '21
+256
در 0 کانال‌ها
Get PRO
ژانویه '21
+42
در 0 کانال‌ها
Get PRO
دسامبر '20
+1 036
در 0 کانال‌ها
تاریخ
رشد مشترکین
اشارات
کانال‌ها
26 اکتبر0
25 اکتبر+1
24 اکتبر0
23 اکتبر+1
22 اکتبر0
21 اکتبر0
20 اکتبر+1
19 اکتبر+1
18 اکتبر+1
17 اکتبر+2
16 اکتبر0
15 اکتبر+3
14 اکتبر+3
13 اکتبر+1
12 اکتبر0
11 اکتبر+1
10 اکتبر+1
09 اکتبر0
08 اکتبر+1
07 اکتبر+2
06 اکتبر0
05 اکتبر0
04 اکتبر+2
03 اکتبر+1
02 اکتبر+1
01 اکتبر0
پست‌های کانال
🚀 I’m Open to New Opportunities in Python, Machine Learning, and Data Engineering! I’m looking to connect with individuals, teams, and organizations where I can use my technical skills to solve real-world problems, share knowledge, and create meaningful impact. Here are three areas where I’d love to contribute: 🔹 Content Creation & Technical Education Creating practical, engaging tutorials on Python, Machine Learning, and Data Engineering to help developers learn, build, and grow. 🔹 Backend Development & AI Engineering Building reliable backend systems, ML-powered applications, and APIs using Python, FastAPI, and modern AI/ML technologies. 🔹 Mentoring & Knowledge Sharing Helping aspiring developers strengthen their Python, Machine Learning, and Data Engineering skills through practical guidance and project-based learning. 💡 What am I looking for? Opportunities to collaborate on exciting projects, contribute to impactful teams, create educational content, and mentor the next generation of developers. If you’re hiring, building something interesting, or know someone looking for these skills, I’d love to connect! 📩 Feel free to send me a message or tag someone who might be interested. Let’s build something meaningful together. #Python #MachineLearning #DataEngineering #FastAPI #AI #BackendDevelopment #Mentorship #ContentCreation #OpenToOpportunities

2
Speed Up Pandas: 3 Performance Tips for Faster Dataframes https://youtu.be/3vX1S2qxDu8
Speed Up Pandas: 3 Performance Tips for Faster Dataframes https://youtu.be/3vX1S2qxDu8
174
3
AI-Generated Python Code Is Not Always Correct | Code Review https://youtu.be/mJLwFf0dHSA
212
4
Stop Accepting AI Code Without Reading It | Review AI-Generated Code https://youtu.be/mfqI3w4Npsc
283
5
As I continue building my AI Document API with FastAPI, I’m reminding myself to look beyond the happy path. It’s easy to test an endpoint with valid data and celebrate when everything works. But what happens when: - The client sends invalid data? - The requested document doesn't exist? - A database operation fails? - A user tries to access something they aren't authorized to access? For me, the goal isn’t simply to make each endpoint work. It’s to understand how it behaves when things go wrong, too. That’s one of the things I’m exploring as I build this project step by step with FastAPI. A good API should handle the expected path well and fail predictably when things go wrong. As developers, we should test more than whether our code works. We should also test how it fails. When reviewing an API endpoint, what do you check first: input validation, error handling, or authorization? 🔗 GitHub project: https://github.com/epythonlab2/ai-document-api 🎥 Follow the FastAPI course series: https://www.youtube.com/watch?v=0SLLG2Z_Htw&list=PLQNCas8_eikM #FastAPI #Python #APIDevelopment #BackendDevelopment #SoftwareEngineering
402
6
As I build my 𝐀𝐈 𝐃𝐨𝐜𝐮𝐦𝐞𝐧𝐭 𝐀𝐏𝐈 𝐰𝐢𝐭𝐡 𝐅𝐚𝐬𝐭𝐀𝐏𝐈, I’m realizing that building an API is about much more than writing endpoints. Getting an endpoint to work is just the beginning. A real application needs a solid structure and several pieces working together. That means thinking about: - Validating incoming data - Organizing routes and business logic - Connecting to a database - Handling errors properly - Implementing authentication and permissions - Testing and deploying the application Each step introduces a new challenge and a new concept to learn. That’s why I’m building this project step by step as part of my 𝐅𝐚𝐬𝐭𝐀𝐏𝐈 𝐬𝐞𝐫𝐢𝐞𝐬. My goal is to go beyond isolated examples and demonstrate how these concepts come together in a practical AI application. 𝐁𝐞𝐜𝐚𝐮𝐬𝐞 𝐥𝐞𝐚𝐫𝐧𝐢𝐧𝐠 𝐚 𝐟𝐫𝐚𝐦𝐞𝐰𝐨𝐫𝐤 𝐢𝐬 𝐨𝐧𝐞 𝐭𝐡𝐢𝐧𝐠. 𝐊𝐧𝐨𝐰𝐢𝐧𝐠 𝐡𝐨𝐰 𝐭𝐨 𝐮𝐬𝐞 𝐢𝐭 𝐭𝐨 𝐛𝐮𝐢𝐥𝐝 𝐚 𝐫𝐞𝐚𝐥 𝐚𝐩𝐩𝐥𝐢𝐜𝐚𝐭𝐢𝐨𝐧 𝐢𝐬 𝐚𝐧𝐨𝐭𝐡𝐞𝐫. 🔗 GitHub repository: https://github.com/epythonlab2/ai-document-api 🎥 Explore the full course series: https://www.youtube.com/watch?v=0SLLG2Z_Htw&list=PLQNCas8_eikM 𝐖𝐡𝐚𝐭 𝐝𝐨 𝐲𝐨𝐮 𝐟𝐢𝐧𝐝 𝐦𝐨𝐬𝐭 𝐜𝐡𝐚𝐥𝐥𝐞𝐧𝐠𝐢𝐧𝐠 𝐰𝐡𝐞𝐧 𝐭𝐮𝐫𝐧𝐢𝐧𝐠 𝐚 𝐬𝐢𝐦𝐩𝐥𝐞 𝐀𝐏𝐈 𝐢𝐧𝐭𝐨 𝐚 𝐜𝐨𝐦𝐩𝐥𝐞𝐭𝐞 𝐚𝐩𝐩𝐥𝐢𝐜𝐚𝐭𝐢𝐨𝐧? #FastAPI #Python #APIDevelopment #BackendDevelopment #AIEngineering
494
7
FastAPI Fundamentals Course Tutorial Episode 10: Insert/Create Data into PostgreSQL Database https://youtu.be/w3EUk1MuJfE
502
8
While learning FastAPI, I came across another question: 𝐖𝐡𝐲 𝐝𝐨 𝐈 𝐧𝐞𝐞𝐝 𝐏𝐲𝐝𝐚𝐧𝐭𝐢𝐜 𝐰𝐡𝐞𝐧 𝐏𝐲𝐭𝐡𝐨𝐧 𝐚𝐥𝐫𝐞𝐚𝐝𝐲 𝐡𝐚𝐬 𝐭𝐲𝐩𝐞 𝐡𝐢𝐧𝐭𝐬? For example, I can write: 𝑑𝑒𝑓 𝑐𝑟𝑒𝑎𝑡𝑒_𝑢𝑠𝑒𝑟(𝑛𝑎𝑚𝑒: 𝑠𝑡𝑟, 𝑎𝑔𝑒: 𝑖𝑛𝑡): ... Python already tells me that name should be a string and age should be an integer. So what does 𝐏𝐲𝐝𝐚𝐧𝐭𝐢c add? The difference became clear when working with API request data. An API receives data from outside the application, and I need more than just type hints. I need to validate that the data has the expected structure and values. That’s where Pydantic becomes useful. With FastAPI, I can define a model: 𝑐𝑙𝑎𝑠𝑠 𝑈𝑠𝑒𝑟𝐶𝑟𝑒𝑎𝑡𝑒(𝐵𝑎𝑠𝑒𝑀𝑜𝑑𝑒𝑙): 𝑛𝑎𝑚𝑒: 𝑠𝑡𝑟 𝑎𝑔𝑒: 𝑖𝑛𝑡 FastAPI can then use that model to validate incoming request data automatically. So my takeaway is: 𝐏𝐲𝐭𝐡𝐨𝐧 𝐭𝐲𝐩𝐞 𝐡𝐢𝐧𝐭𝐬 𝐝𝐞𝐬𝐜𝐫𝐢𝐛𝐞 𝐰𝐡𝐚𝐭 𝐈 𝐞𝐱𝐩𝐞𝐜𝐭. 𝐏𝐲𝐝𝐚𝐧𝐭𝐢𝐜 𝐡𝐞𝐥𝐩𝐬 𝐯𝐚𝐥𝐢𝐝𝐚𝐭𝐞 𝐰𝐡𝐚𝐭 𝐈 𝐚𝐜𝐭𝐮𝐚𝐥𝐥𝐲 𝐫𝐞𝐜𝐞𝐢𝐯𝐞. This is another small concept that became much clearer once I started building a real FastAPI application. 𝐖𝐡𝐚𝐭 𝐰𝐚𝐬 𝐲𝐨𝐮𝐫 𝐟𝐢𝐫𝐬𝐭 𝐢𝐦𝐩𝐫𝐞𝐬𝐬𝐢𝐨𝐧 𝐨𝐟 𝐏𝐲𝐝𝐚𝐧𝐭𝐢𝐜 𝐰𝐡𝐞𝐧 𝐲𝐨𝐮 𝐬𝐭𝐚𝐫𝐭𝐞𝐝 𝐮𝐬𝐢𝐧𝐠 𝐅𝐚𝐬𝐭𝐀𝐏𝐈? 🔗 𝐆𝐢𝐭𝐇𝐮𝐛: https://github.com/epythonlab2/ai-document-api 🎥 𝐅𝐚𝐬𝐭𝐀𝐏𝐈 𝐜𝐨𝐮𝐫𝐬𝐞: https://www.youtube.com/watch?v=0SLLG2Z_Htw&list=PLQNCas8_eikM
529
9
✅ FastAPI Episode 9: Database Setup with PostgreSQL & SQLAlchemy https://youtu.be/4d4Gs2Y7Fic
493
10
The FastAPI Course Github (AI Document API) Project is just updated Add database connection setup and document model definition - Implement database connection using SQLAlchemy and environment variables - Create Document model with fields for title, description, category, and priority - Update .gitignore to include .env file - Add required dependencies in pyproject.toml and uv.lock 🔗 𝐆𝐢𝐭𝐇𝐮𝐛: https://github.com/epythonlab2/ai-document-api 🎥 𝐅𝐚𝐬𝐭𝐀𝐏𝐈 𝐜𝐨𝐮𝐫𝐬𝐞: https://www.youtube.com/watch?v=0SLLG2Z_Htw&list=PLQNCas8_eikM
537
11
While moving from other web frameworks to 𝐅𝐚𝐬𝐭𝐀𝐏𝐈, one question came to my mind: 𝐖𝐡𝐲 𝐝𝐨 𝐈 𝐧𝐞𝐞𝐝 𝐀𝐏𝐈𝐑𝐨𝐮𝐭𝐞𝐫 𝐰𝐡𝐞𝐧 𝐅𝐚𝐬𝐭𝐀𝐏𝐈 𝐚𝐥𝐫𝐞𝐚𝐝𝐲 𝐥𝐞𝐭𝐬 𝐦𝐞 𝐝𝐞𝐟𝐢𝐧𝐞 𝐫𝐨𝐮𝐭𝐞𝐬 𝐝𝐢𝐫𝐞𝐜𝐭𝐥𝐲? For a small project, this is enough: @𝒂𝒑𝒑.𝒈𝒆𝒕("/𝒅𝒐𝒄𝒖𝒎𝒆𝒏𝒕𝒔") 𝒂𝒔𝒚𝒏𝒄 𝒅𝒆𝒇 𝒈𝒆𝒕_𝒅𝒐𝒄𝒖𝒎𝒆𝒏𝒕𝒔(): ... So why introduce APIRouter? The answer became clearer when I started thinking about a real application. As the project grows, I may have authentication, users, documents, search, AI processing, and many more endpoints. Keeping all of these routes in one place can quickly become difficult to maintain. That’s where APIRouter becomes useful. It allows me to organize routes by feature and keep the application structure clean. So my takeaway is simple: 𝐅𝐚𝐬𝐭𝐀𝐏𝐈 𝐥𝐞𝐭𝐬 𝐦𝐞 𝐝𝐞𝐟𝐢𝐧𝐞 𝐭𝐡𝐞 𝐫𝐨𝐮𝐭𝐞𝐬. 𝐀𝐏𝐈𝐑𝐨𝐮𝐭𝐞𝐫 𝐡𝐞𝐥𝐩𝐬 𝐦𝐞 𝐨𝐫𝐠𝐚𝐧𝐢𝐳𝐞 𝐭𝐡𝐞𝐦. It’s not required to make FastAPI work. It becomes useful when I want the application to stay organized and maintainable as it grows. This was one of those small FastAPI concepts that made much more sense once I started looking at the bigger picture. 𝐇𝐚𝐯𝐞 𝐲𝐨𝐮 𝐡𝐚𝐝 𝐭𝐡𝐞 𝐬𝐚𝐦𝐞 𝐪𝐮𝐞𝐬𝐭𝐢𝐨𝐧 𝐰𝐡𝐞𝐧 𝐦𝐨𝐯𝐢𝐧𝐠 𝐭𝐨 𝐅𝐚𝐬𝐭𝐀𝐏𝐈? 🔗 𝐆𝐢𝐭𝐇𝐮𝐛: https://github.com/epythonlab2/ai-document-api 🎥 𝐅𝐚𝐬𝐭𝐀𝐏𝐈 𝐜𝐨𝐮𝐫𝐬𝐞: https://www.youtube.com/watch?v=0SLLG2Z_Htw&list=PLQNCas8_eikM #FastAPI #Python #APIRouter #BackendDevelopment #SoftwareArchitecture #APIDevelopment #PythonDeveloper
502
12
This is the github starter for the project based FastAPI course tutorial https://github.com/epythonlab2/ai-document-api
487
13
✅ FastAPI Episode 8: Organizing Routes with APIRouter https://youtu.be/SGPXI7bzEDM
503
14
When building a FastAPI application, I pay close attention to how data is validated before it reaches the business logic. That is where Pydantic becomes particularly useful. Pydantic lets us define the structure and rules for the data our application accepts, instead of scattering validation checks throughout the codebase. I use it to define and enforce the data contract at the application boundary. For example: 𝑐𝑙𝑎𝑠𝑠 𝑃𝑟𝑜𝑐𝑒𝑠𝑠𝑖𝑛𝑔𝐶𝑜𝑛𝑓𝑖𝑔(𝐵𝑎𝑠𝑒𝑀𝑜𝑑𝑒𝑙): 𝑐ℎ𝑢𝑛𝑘_𝑠𝑖𝑧𝑒: 𝑖𝑛𝑡 = 𝐹𝑖𝑒𝑙𝑑(𝑔𝑡=0) 𝑜𝑣𝑒𝑟𝑙𝑎𝑝: 𝑖𝑛𝑡 = 𝐹𝑖𝑒𝑙𝑑(𝑔𝑒=0) @𝑚𝑜𝑑𝑒𝑙_𝑣𝑎𝑙𝑖𝑑𝑎𝑡𝑜𝑟(𝑚𝑜𝑑𝑒="𝑎𝑓𝑡𝑒𝑟") 𝑑𝑒𝑓 𝑣𝑎𝑙𝑖𝑑𝑎𝑡𝑒_𝑐𝑜𝑛𝑓𝑖𝑔(𝑠𝑒𝑙𝑓): 𝑖𝑓 𝑠𝑒𝑙𝑓.𝑜𝑣𝑒𝑟𝑙𝑎𝑝 >= 𝑠𝑒𝑙𝑓.𝑐ℎ𝑢𝑛𝑘_𝑠𝑖𝑧𝑒: 𝑟𝑎𝑖𝑠𝑒 𝑉𝑎𝑙𝑢𝑒𝐸𝑟𝑟𝑜𝑟("𝑜𝑣𝑒𝑟𝑙𝑎𝑝 𝑚𝑢𝑠𝑡 𝑏𝑒 𝑠𝑚𝑎𝑙𝑙𝑒𝑟 𝑡ℎ𝑎𝑛 𝑐ℎ𝑢𝑛𝑘_𝑠𝑖𝑧𝑒") 𝑟𝑒𝑡𝑢𝑟𝑛 𝑠𝑒𝑙𝑓 Both fields can be individually valid, while their combination is not. That is the difference between: Field validation → Is this value valid? Model validation → Is this combination valid? With Pydantic, 𝙁𝙞𝙚𝙡𝙙(), 𝙛𝙞𝙚𝙡𝙙_𝙫𝙖𝙡𝙞𝙙𝙖𝙩𝙤𝙧(), 𝙖𝙣𝙙 𝙢𝙤𝙙𝙚𝙡_𝙫𝙖𝙡𝙞𝙙𝙖𝙩𝙤𝙧() let us keep these rules close to the schema. The result is a cleaner boundary: 𝙍𝙚𝙦𝙪𝙚𝙨𝙩 → 𝙑𝙖𝙡𝙞𝙙𝙖𝙩𝙞𝙤𝙣 → 𝘽𝙪𝙨𝙞𝙣𝙚𝙨𝙨 𝙇𝙤𝙜𝙞𝙘 → 𝘿𝙖𝙩𝙖𝙗𝙖𝙨𝙚 / 𝘼𝙄 For production AI applications, this matters. Document metadata, processing parameters, search filters, and structured AI outputs all need predictable contracts. Good schemas do more than describe data. They protect the rest of the system. You can explore more: https://www.youtube.com/playlist?list=PLQNCas8_eikM #Python #Pydantic #PydanticV2 #FastAPI #BackendEngineering #AIEngineering
541
15
FastAPI Episode 7: Advanced Pydentic Model Design https://www.youtube.com/watch?v=j4lLM6tWKKk
507
16
The hardest part of building AI applications isn't writing the prompt or calling the model. In the last two weeks, I learned that keeping the backend from turning into spaghetti code once you move past the tutorial phase. When you're wiring up an AI document pipeline in FastAPI, a few things quickly become non-negotiable: • Payload Guardrails: If your Pydantic schemas aren't catching malformed JSON, missing nested fields, or bad Enums at the door, your AI service will fail unpredictably downstream. • Route Isolation: Mixing your raw API endpoints with validation logic and business rules makes refactoring a nightmare by week three. • The Persistence Gap: Transitioning from mock in-memory data structures to a real relational database and a vector store for RAG is where most clean prototypes start to break down. If you're building production backends for AI and ML features, where do you usually draw the line between keeping things simple and over-engineering your architecture? You can learn about FastAPI: https://www.youtube.com/playlist?list=PLQNCas8_eikM #FastAPI #Python #BackendEngineering #SoftwareArchitecture #APIs #Pydantic #ArtificialIntelligence #MachineLearning #RAG
722
17
FastAPI Episode 6: Pydantic Validation Requests and Response Models https://youtu.be/G5cKA88-6vc
693
18
FastAPI Full Course Episode 5: FastAPI Parameters & Request Bodies(Path, Query & Pydantic) https://www.youtube.com/watch?v=-tkww4I4Vfg&t=638s
743
19
Set Up FastAPI Development Environment with uv & VS Code | FastAPI Full Course(Episode 4) https://www.youtube.com/watch?v=G60LwkySnwQ
719
20
Your model can look excellent and still be wrong. One of the first things I check when evaluating an ML dataset is data leakage. 🔍 Data leakage happens when information that would not actually be available at prediction time gets into the training data. For example: 🏥 Healthcare You are predicting whether a patient will be admitted, but your dataset includes a field recorded after admission. 💳 Fraud detection You are predicting fraud, but one of the features is created after the transaction has already been investigated. 📦 Customer churn You are predicting who will leave, but the training data contains information that only becomes available after the customer leaves. The result? Your model may show: 📈 98% accuracy 📈 Excellent validation results 📈 Great performance during testing Then you put it into production... And the performance drops. The problem was not necessarily the model. The model had access to information it would never have in the real world. That is why I don't look at model performance alone. I also ask: 🔎 Where did each feature come from? ⏱️ When was it created? 🎯 Would this information actually be available when making the prediction? A high score is not always a good score. Sometimes, it is a warning sign. Check out data quality issues https://youtube.com/playlist?list=PL0nX4ZoMtjYHTtowSzzB2gVH2AuuoF9WW&si=EhLKvJCVlYQXknOs Also checkout data quality checker tool https://datasetdoctor.fastapicloud.dev #MachineLearning #DataScience #AI #DataLeakage #MLOps #Python
664