Closed lwgray closed 3 years ago
@bbengfort did you want me to fix that #1167 bug in this same PR?
@lwgray that would be great - it's just one additional line and they're related so I think it make sense to do it in the same PR.
@bbengfort I made those changes...can I get a review? Thanks!
This PR fixes #1160 which reported a bug that caused a problem to occur when users ran pca decomposition. Some time pca_decomposition finishes with an exception (AttributeError: 'PCA' object has no attribute 'random_state').
I changed in accordance to @bbengfort conversation with submitter of issue #1160:
This PR also fixes #1167 which reported a bug that caused a problem to occur when users run rocauc. An AttributeError would state that the model object has no attribute 'binary'
I changed: