Skip to content

Commit

Permalink
Update TPOT2 in base_evolver docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-m-dev committed Dec 11, 2024
1 parent f86b1cc commit 1f953b3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tpot2/evolvers/base_evolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
"""
Expand Down Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit 1f953b3

Please sign in to comment.