Simple steps to split the dataset into Training, Testing and Validation || Split folder in python

  Рет қаралды 9,456

InvesTime

InvesTime

Күн бұрын

This video gives easy way to unzip and split the data into train, test and validation folder in python.
#### Extract the Zip folder
from zipfile import ZipFile
with ZipFile('/content/drive/MyDrive/gas.zip', 'r') as zipObj:
zipObj.extractall('Gas')
Install the Split - folder package
pip install split-folders[full]
#### Import the package
import splitfolders
###### Path of input folder
input_folder = '/content/Gas'
#######ration of split is 70%, 20% and 10%
splitfolders.ratio(input_folder, output="dataset",
seed=42, ratio=(.7, .2, .1),
group_prefix=None)

Пікірлер: 14
@renukasutone5339
@renukasutone5339 2 ай бұрын
VERY NICE WORK MAM.
@OuahibaBOUGLIMINA
@OuahibaBOUGLIMINA 3 ай бұрын
Thank you so much from algerie
@DhioDhio-lu3sk
@DhioDhio-lu3sk 2 ай бұрын
Thank u thank u thank u😭❤. U just helped a person u are amazing
@rishabhtripathi2489
@rishabhtripathi2489 Жыл бұрын
you solved my 4 hours struggle.... thanks a lot
@IntanMire
@IntanMire Жыл бұрын
your content is always amazing. simple and coding updated. Thank you so much, sis.
@nivragarcia2061
@nivragarcia2061 2 жыл бұрын
Good tips. Thanks for sharing.
@deepakanmani4359
@deepakanmani4359 2 жыл бұрын
Super mam... Keep going
@ingridbarrientospalomino4764
@ingridbarrientospalomino4764 Жыл бұрын
Super power, you was the light in the dark.
@2024funnyman
@2024funnyman Жыл бұрын
short and sweet
@keltoumaiaiouss1703
@keltoumaiaiouss1703 Жыл бұрын
thank you so much
@Mees_Art_Sky
@Mees_Art_Sky 2 жыл бұрын
👍
@fatimetouhadramy2405
@fatimetouhadramy2405 Жыл бұрын
thank you from the bottom of my heart 🧡👍
@investime247
@investime247 Жыл бұрын
You’re welcome 😊
@palakagarwal532
@palakagarwal532 Жыл бұрын
bharat mata ki jai. Vande matram
Split DataFrame into Train, Test, Validation Sets using Scikit-Learn
14:20
TechEngineerSchool
Рет қаралды 23 М.
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 32 МЛН
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 46 МЛН
This INCREDIBLE trick will speed up your data processes.
12:54
Rob Mulla
Рет қаралды 259 М.
Why do we split data into train test and validation sets?
2:20
Mısra Turp
Рет қаралды 52 М.
How to Import (use) Kaggle datasets in Google Colab?
10:43
Shriram Vasudevan
Рет қаралды 127 М.
Training Data Vs Test Data Vs Validation Data| Krish Naik
14:41
Krish Naik Hindi
Рет қаралды 47 М.
RAG from the Ground Up with Python and Ollama
15:32
Decoder
Рет қаралды 25 М.
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 25 МЛН
Что еще за съемные фронталки от Vivo? #vivo
0:41