From 1f953b3fafe01d807e72f8106d19befd2c39f9fe Mon Sep 17 00:00:00 2001 From: Jay Moran Date: Wed, 11 Dec 2024 12:49:26 -0800 Subject: [PATCH] Update TPOT2 in base_evolver docstring --- tpot2/evolvers/base_evolver.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tpot2/evolvers/base_evolver.py b/tpot2/evolvers/base_evolver.py index 8e4958aa..7b1c50f9 100644 --- a/tpot2/evolvers/base_evolver.py +++ b/tpot2/evolvers/base_evolver.py @@ -62,7 +62,7 @@ def ind_mutate(ind, rng): Parameters ---------- - ind : tpot2.BaseIndividual + ind : tpot.BaseIndividual The individual to mutate rng : int or numpy.random.Generator A numpy random generator to use for reproducibility @@ -75,8 +75,8 @@ def ind_crossover(ind1, ind2, rng): Calls the ind1.crossover(ind2, rng=rng) Parameters ---------- - ind1 : tpot2.BaseIndividual - ind2 : tpot2.BaseIndividual + ind1 : tpot.BaseIndividual + ind2 : tpot.BaseIndividual rng : int or numpy.random.Generator A numpy random generator to use for reproducibility """ @@ -256,7 +256,7 @@ def __init__( self, periodic_checkpoint_folder : str, default=None Folder to save the population to periodically. If None, no periodic saving will be done. If provided, training will resume from this checkpoint. - callback : tpot2.CallBackInterface, default=None + callback : tpot.CallBackInterface, default=None Callback object. Not implemented rng : Numpy.Random.Generator, None, default=None An object for reproducability of experiments. This value will be passed to numpy.random.default_rng() to create an instnce of the genrator to pass to other classes @@ -268,7 +268,7 @@ def __init__( self, Attributes ---------- - population : tpot2.Population + population : tpot.Population The population of individuals. Use population.population to access the individuals in the current population. Use population.evaluated_individuals to access a data frame of all individuals that have been explored.