GokuMohandas / Made-With-ML

Learn how to design, develop, deploy and iterate on production-grade ML applications.
https://madewithml.com
MIT License
37.07k stars 5.88k forks source link

how to download from madewithml.data import stratify_split? #243

Open andysingal opened 11 months ago

andysingal commented 11 months ago

How to download?

 from madewithml.data import stratify_split
bhavya-giri commented 10 months ago
Screenshot 2023-10-23 at 12 07 40 PM Screenshot 2023-10-23 at 12 07 46 PM

@GokuMohandas

bhavya-giri commented 10 months ago

The error is coming from in madewithml/data.py from madewithml.config import STOPWORDS

bhavya-giri commented 10 months ago

@andysingal you can directly copy the stratify_split function from directory/madewithml/data.py

Luismbpr commented 6 months ago

u can directly copy the stratify_split function from directory/madewithml/data.py

If importing results in an error you can do this. Copy the code into the notebook (or file) you will be using the function on (along with the required libraries needed).