Exemple #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
Exemple #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
Exemple #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)
Exemple #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)