def train_segment_classifier(input_files, output_file): X, y = segment_learning.load_data(train_csv_file) X_test, y_test = segment_learning.load_data(test_csv_file) try: segment_learning.train_test_experiment(X, y, X_test, y_test, output_file) except ValueError: pass
def train_segment_classifier(input_files, output_file): X, y = segment_learning.load_data(train_csv_file) X_test, y_test = segment_learning.load_data(test_csv_file) segment_learning.train_test_experiment(X, y, X_test, y_test, output_file)