Module topicnet.cooking_machine

Cooking Machine

Cube

A unit of model training pipeline. This unit encapsulates an action over one or many model hyperparameters. This action and hyperparameter space are stored as cube properties and then saved in Experiment.

Input: model or list of models, regularizer or list of them, hyperparameter search sapce(grid), iterations number or a function defining it, custom metrics.
Output: models.
Body: performs actions over artm model. Can modify, create new models and alter their Experiment.

Model

A class containing Topic Model and its description:

Experiment

Class providing experiment infrastructure:

Expand source code
from .dataset import Dataset
from .dataset import BaseDataset
from .experiment import Experiment
from .model_constructor import *
from .dataset_cooc import DatasetCooc

Sub-modules

topicnet.cooking_machine.config_parser

Parsing text file into Experiment instance using strictyaml (github.com/crdoconnor/strictyaml/) …

topicnet.cooking_machine.cubes
topicnet.cooking_machine.dataset
topicnet.cooking_machine.dataset_cooc
topicnet.cooking_machine.experiment
topicnet.cooking_machine.model_constructor
topicnet.cooking_machine.model_tracking
topicnet.cooking_machine.models
topicnet.cooking_machine.pretty_output
topicnet.cooking_machine.recipes
topicnet.cooking_machine.rel_toolbox_lite
topicnet.cooking_machine.routine