<commit_before>################################################################################
#  Github: https://github.com/MaxInGaussian/GomPlex
#  Author: <NAME> (<EMAIL>)
################################################################################

from FeatureLearner import FeatureLearner

DRAWING_RAW_DATA_PATH = 'drawing_raw_data.csv'

model = FeatureLearner(use_gender=True, use_age=True, use_edu_level=True,
    show_training_drawings=False, show_predicted_drawings=False)

model.load_drawing_data(DRAWING_RAW_DATA_PATH)

while(True):
    model.train_regressor(ratio=0.3, cv_folds=3, plot_error=False)<commit_msg>commit from Maxs-Research-Lab.local by MaxLam<commit_after>################################################################################
#  Github: https://github.com/MaxInGaussian/GomPlex
#  Author: <NAME> (<EMAIL>)
################################################################################

import sys
import multiprocessing

from FeatureLearner import FeatureLearner

DRAWING_RAW_DATA_PATH = 'drawing_raw_data.csv'

model = FeatureLearner(use_gender=True, use_age=True, use_edu_level=True,
    show_training_drawings=False, show_predicted_drawings=False)
model.load_drawing_data(DRAWING_RAW_DATA_PATH)

def nonstop_train():
    while(True):
        model.train_regressor(ratio=0.3, cv_folds=3, plot_error=False)

pool = multiprocessing.Pool(min(1, multiprocessing.cpu_count()//2))
pool.apply_async(nonstop_train)
pool.close()
pool.join()
{'fraction_non_alphanumeric': 0.3026404874746107, 'fraction_numerical': 0.005416384563303994, 'mean_word_length': 9.633093525179856, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1077329', 'n_tokens_mistral': 472, 'n_tokens_neox': 443, 'n_words': 61}