Home
last modified time | relevance | path

Searched refs:split_data (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/samples/modules/tflite-micro/magic_wand/train/
Ddata_split_test.py26 from data_split import split_data
53 train_data_0, valid_data_0, test_data_100 = split_data(self.data, 0, 0)
54 train_data_50, valid_data_50, test_data_0 = split_data(self.data, 0.5, 0.5)
55 train_data_60, valid_data_20, test_data_20 = split_data(self.data, 0.6, 0.2)
Ddata_split.py51 def split_data(data, train_ratio, valid_ratio): function
87 train_data, valid_data, test_data = split_data(data, 0.6, 0.2)