-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from perib/dev
Dev
- Loading branch information
Showing
12 changed files
with
243 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
126 changes: 83 additions & 43 deletions
126
Tutorial/4_Symbolic_Regression_and_Classification.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
from .average_path_length_objective import average_path_length_objective | ||
from .number_of_nodes_objective import number_of_nodes_objective | ||
from .number_of_leaves_scorer import number_of_leaves_scorer, number_of_leaves_objective | ||
from .complexity_objective import complexity_scorer | ||
from .average_path_length import average_path_length_objective | ||
from .number_of_nodes import number_of_nodes_objective | ||
from .number_of_leaves import number_of_leaves_scorer, number_of_leaves_objective | ||
from .complexity import complexity_scorer | ||
|
||
|
||
#these scorers are calculated per fold of CV on the fitted pipeline for that fold | ||
SCORERS = { "number_of_leaves": number_of_leaves_scorer, | ||
"complexity": complexity_scorer | ||
SCORERS = { | ||
"complexity_scorer": complexity_scorer | ||
} | ||
|
||
#these objectives are calculated once on unfitted models as secondary objectives | ||
OBJECTIVES = { "average_path_length": average_path_length_objective, | ||
"number_of_nodes": number_of_nodes_objective, | ||
OBJECTIVES = { "average_path_length_objective": average_path_length_objective, | ||
"number_of_nodes_objective": number_of_nodes_objective, | ||
"number_of_leaves_objective": number_of_leaves_objective | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters