<commit_before>#!/usr/bin/env python
# coding: utf-8


# Download and prepare training data set
# Create Ludwig model definition file
#
# Based on the [UCI Wisconsin Breast Cancer data set](https://archive.ics.uci.edu/ml/datasets/breast+cancer+wisconsin+(original))
#
import os
import os.path
import shutil
import yaml

import pandas as pd
import requests
from sklearn.model_selection import train_test_split

# Constants
DATA_SET_URL = 'https://archive.ics.uci.edu/ml/machine-learning-databases/breast-cancer-wisconsin/wdbc.data'
DATA_SET = 'wdbc.data'
DATA_DIR = './data'
RESULTS_DIR = 'results'<commit_msg>refactor: code clean-up<commit_after>#!/usr/bin/env python
# coding: utf-8


# Download and prepare training data set
# Create Ludwig model definition file
#
# Based on the [UCI Wisconsin Breast Cancer data set](https://archive.ics.uci.edu/ml/datasets/breast+cancer+wisconsin+(original))
#
import os.path
import shutil
import yaml

import pandas as pd
import requests
from sklearn.model_selection import train_test_split

# Constants
DATA_SET_URL = 'https://archive.ics.uci.edu/ml/machine-learning-databases/breast-cancer-wisconsin/wdbc.data'
DATA_SET = 'wdbc.data'
DATA_DIR = './data'
RESULTS_DIR = 'results'
{'fraction_non_alphanumeric': 0.1116584564860427, 'fraction_numerical': 0.0016420361247947454, 'mean_word_length': 5.283505154639175, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4327684', 'n_tokens_mistral': 412, 'n_tokens_neox': 395, 'n_words': 101}