yuwtennis opened a new issue, #36936:
URL: https://github.com/apache/beam/issues/36936

   ### What happened?
   
   ## Problem
   
   Github Action  for `beam_PreCommit_Python_ML` is failing due to 
_AttributeError_.
   Below is the snippet from python version 3.11 .
   
   ```
   AttributeError: The following error was raised: 'IForest' object has no 
attribute '__sklearn_tags__'. It seems that there are no classes that implement 
`__sklearn_tags__` in the MRO and/or all classes in the MRO call 
`super().__sklearn_tags__()`. Make sure to inherit from `BaseEstimator` which 
implements `__sklearn_tags__` (or alternatively define `__sklearn_tags__` but 
we don't recommend this approach). Note that `BaseEstimator` needs to be on the 
right side of other Mixins in the inheritance order. [while running 
'AnomalyDetection/RunOfflineDetector/Call RunInference 
(OfflineDetector:808c63)/BeamML_RunInference']
   ```
   
   
https://github.com/apache/beam/actions/runs/19757409550/job/56611473889?pr=36932#step:9:3263
   
https://github.com/apache/beam/actions/runs/19757409550/job/56611473885?pr=36932#step:9:3084
   
https://github.com/apache/beam/actions/runs/19757409550/job/56611473905?pr=36932#step:9:3091
   
   ### Issue Priority
   
   Priority: 2 (default / most bugs should be filed as P2)
   
   ### Issue Components
   
   - [x] Component: Python SDK
   - [ ] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam YAML
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Infrastructure
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to