Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
fraimondo committed Jul 30, 2024
1 parent 1979058 commit 6add24f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/03_complex_models/run_generate_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@
# be the the `generate_target`, applying to the "petal" features and using the
# target_creator pipeline as the transformer.
creator = PipelineCreator(problem_type="regression")
creator.add("zscore")
creator.add("zscore", apply_to="*")
creator.add("generate_target", apply_to="petal", transformer=target_creator)
creator.add(
"linreg", apply_to="sepal",
)
creator.add("linreg", apply_to="sepal")

###############################################################################
# We finally evaluate the model within the cross validation.
Expand Down

0 comments on commit 6add24f

Please sign in to comment.