Exemplo n.º 1
0
def split_entity_dataset():

    train_csv_path = "../data/train.csv"

    data_set = digit_io.read_from_csv(train_csv_path)

    train_set, test_set = data_split(data_set)

    digit_io.write_to_csv(train_set, '../data/training/train.csv')

    digit_io.write_to_csv(test_set, '../data/training/test.csv')
Exemplo n.º 2
0
def split_entity_dataset():

    train_csv_path = "../data/train.csv"

    data_set = digit_io.read_from_csv(train_csv_path)

    train_set, test_set = data_split(data_set)

    digit_io.write_to_csv(train_set, '../data/training/train.csv')

    digit_io.write_to_csv(test_set, '../data/training/test.csv')
Exemplo n.º 3
0
def extract_small_dataset():

    train_csv_path = "../data/train.csv"

    data_set = digit_io.read_from_csv(train_csv_path)

    train_set, test_set = data_split(data_set)

    small_train, small_test = data_split(test_set)

    digit_io.write_to_csv(small_train, "../data/training/small_train.csv")

    digit_io.write_to_csv(small_test, "../data/training/small_test.csv")
Exemplo n.º 4
0
def extract_small_dataset():

    train_csv_path = "../data/train.csv"

    data_set = digit_io.read_from_csv(train_csv_path)

    train_set, test_set = data_split(data_set)

    small_train, small_test = data_split(test_set)

    digit_io.write_to_csv(small_train, "../data/training/small_train.csv")

    digit_io.write_to_csv(small_test, "../data/training/small_test.csv")