def undo():
    for S in Parameters.S_values:
        Filefunctions.delete(Name_functions.S_GRAEC_enumeration_folder(S))
        Filefunctions.delete(Name_functions.S_naive_test_predictions(S))
        Filefunctions.delete(Name_functions.S_recent_test_predictions(S))
    STEP6_Global_Scoring.undo()
Exemple #2
0
# This script runs all other scripts in the project. MS stands for Moment / S, since experiments differ in the moment in
# in the process when the prediction takes place, and the subset period length S


def print_state(s):
    print('-' * 25)
    print(s)
    print('-' * 25)


if Parameters.Demo:
    print('Running Demo')
    print_state('Building Dataset')
    # Remove old folder
    Filefunctions.delete(Parameters.root_location)
    # Create new folder
    Filefunctions.make_directory(Parameters.root_location)
    DEMO_CREATE_EVENTLOG.run()
else:
    print('Running Real Dataset')

print_state('Splitting and labeling event log')
STEP0_Split_And_Label.run()

# Reduce the size of the data set if needed
print_state('Reducing Data Size')
STEP1_Reducing_Class_Sizes.run()

# Train all models
print_state('Training')
Exemple #3
0
def undo():
    Filefunctions.delete(Name_functions.results_folder())
    STEP8_Over_Time_Scoring.undo()
def undo():
    for S in Parameters.S_values:
        Filefunctions.delete(Name_functions.S_score_folder(S))
    STEP7_Global_Results.undo()
def undo():
    Filefunctions.delete(Name_functions.parameter_evaluation_data_folder())
    STEP9_Over_Time_Results.undo()