From b9350249160863d09769629cf5d8d3da9a4a3582 Mon Sep 17 00:00:00 2001 From: MilesCranmer Date: Mon, 1 Feb 2021 16:41:48 -0500 Subject: [PATCH] Remove deprecated kwargs --- pysr/sr.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pysr/sr.py b/pysr/sr.py index 8b8a83808..242164822 100644 --- a/pysr/sr.py +++ b/pysr/sr.py @@ -243,8 +243,7 @@ def pysr(X=None, y=None, weights=None, topn=topn, verbosity=verbosity, julia_optimization=julia_optimization, timeout=timeout, fractionReplacedHof=fractionReplacedHof, - hofMigration=hofMigration, - limitPowComplexity=limitPowComplexity, maxdepth=maxdepth, + hofMigration=hofMigration, maxdepth=maxdepth, maxsize=maxsize, migration=migration, nrestarts=nrestarts, parsimony=parsimony, perturbationFactor=perturbationFactor, populations=populations, procs=procs, @@ -375,7 +374,7 @@ def _make_datasets_julia_str(X, X_filename, weights, weights_filename, y, y_file def _make_hyperparams_julia_str(X, alpha, annealing, batchSize, batching, binary_operators, constraints_str, def_hyperparams, equation_file, fast_cycle, fractionReplacedHof, hofMigration, - limitPowComplexity, maxdepth, maxsize, migration, nrestarts, npop, + maxdepth, maxsize, migration, nrestarts, npop, parsimony, perturbationFactor, populations, procs, shouldOptimizeConstants, unary_operators, useFrequency, use_custom_variable_names, variable_names, warmupMaxsize, weightAddNode, @@ -438,7 +437,6 @@ def tuple_fix(ops): {weightDoNothing:f} ], warmupMaxsize={warmupMaxsize:d}, -limitPowComplexity={"true" if limitPowComplexity else "false"}, useFrequency={"true" if useFrequency else "false"}, npop={npop:d}, ncyclesperiteration={ncyclesperiteration:d},