steveschulze / ml_workshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ml_workshop

We now use this for the first stage of classification for the ELAsTiCC challenge.

Useful links:

How To:

import os, logging
from train_models import Model

logging.basicConfig()
logger = logging.getLogger()
logger.setLevel(logging.INFO)

path_to_trainingset = os.path.join(
    os.path.dirname(os.path.realpath(__file__)),
    "data",
    "elasticc_feature_trainingset_v3",
)

m = Model(
    stage="1",
    path_to_trainingset=path_to_trainingset,
    n_iter=10,
    random_state=42,
    one_alert_per_stock=True,
)
m.split_sample()
m.train()
m.evaluate()

About

License:MIT License


Languages

Language:Jupyter Notebook 97.6%Language:Python 2.4%