<jupyter_start><jupyter_text>Get dataset<jupyter_code>from kaggle.api.kaggle_api_extended import KaggleApi

api = KaggleApi()

api.authenticate()

api.dataset_download_files('lantian773030/pokemonclassification')

!mv pokemonclassification.zip ../data/

!cd ../data/ && unzip -o -q pokemonclassification.zip
!rm pokemonclassification.zip
!mv ../data/PokemonData/ ../data/pokemon-images-original
original_dataset = '../data/pokemon-images-original'
pokemon_dataset = '../data/pokemon-images/'<jupyter_output><empty_output><jupyter_text>Split Dataset<jupyter_code>import splitfolders
splitfolders.ratio(original_dataset, output=pokemon_dataset, seed=46, ratio=(.8, 0.1, 0.1))<jupyter_output>Copying files: 6837 files [00:02, 2964.99 files/s]
{'fraction_non_alphanumeric': 0.13667117726657646, 'fraction_numerical': 0.036535859269282815, 'mean_word_length': 6.628865979381444, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '519945', 'license': 'MIT', 'n_tokens_mistral': 298, 'n_tokens_neox': 272, 'n_words': 41, 'path': 'notebooks/building-the-visual-cortex.ipynb', 'repo_name': 'arjun921/pokedex', 'size': '739'}