Skip to content

Commit

Permalink
Merge pull request #1319 from perib/estimator_type
Browse files Browse the repository at this point in the history
estimator type
  • Loading branch information
nickotto authored Sep 6, 2023
2 parents 881d322 + 56f75d3 commit 9f02998
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tpot/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2031,6 +2031,9 @@ def classes_(self):
"""The classes labels. Only exist if the last step is a classifier."""
return self.fitted_pipeline_.classes_

@property
def _estimator_type(self):
return self.fitted_pipeline_._estimator_type

def _has_cuml():
try:
Expand Down

0 comments on commit 9f02998

Please # to comment.