MetricsCollector
- class autotm.visualization.dynamic_tracker.MetricsCollector(dataset, n_specific_topics, experiment_id=None, save_path='./metrics/')
- save_crossover(generation: int, parent_1: list, parent_2: list, child_1: list, parent_1_fitness: float, parent_2_fitness: float, child_1_fitness: float, child_2: Optional[list] = None, child_2_fitness: Optional[list] = None)
- Parameters:
generation – generation number
parent_1 – parameters of the first parent
parent_2 – parameters of the second parent
child_1 – parameters of the first child
parent_1_fitness – fitness of the first parent
parent_2_fitness – fitness of the second parent
child_1_fitness – fitness of the firs child
child_2 – parameters of the second child if exists
child_2_fitness – fitness of the second child if exists
- Returns:
- save_fitness(generation: int, params: list, fitness: float)
- Parameters:
generation – id of the generation
params – hyperparameters of the individ
fitness – fitness value
- Returns: