示例#1
0
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
示例#2
0
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
示例#3
0
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)
示例#4
0
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)