Searched refs:split_data (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/samples/modules/tflite-micro/magic_wand/train/ |
D | data_split_test.py | 26 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)
|
D | data_split.py | 51 def split_data(data, train_ratio, valid_ratio): function 87 train_data, valid_data, test_data = split_data(data, 0.6, 0.2)
|