Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Unknown primitive: mlstars.custom.timeseries_preprocessing.time_segments_aggregate #482

Open
potatoVStomato opened this issue Nov 8, 2023 · 3 comments
Labels
question Further information is requested

Comments

@potatoVStomato
Copy link

  • Orion version:0.2.7
  • Python version:3.8
  • Operating System:windows

###Description:
The location where running Tulog.ipynb gives an error is as follows:
from orion.core import Orion
orion = Orion(
pipeline='tadgan.json'
)
anomalies = orion.fit_detect(df)
###ValueError: Unknown primitive: mlstars.custom.timeseries_preprocessing.time_segments_aggregate
Note: I have installed orion-ml 0.5.2.dev0

Dear author, what can I do to solve this problem?

@sarahmish
Copy link
Collaborator

Hi @potatoVStomato, thank you for using Orion!

I have noted your issue and made some changes to the tulog, please try it again now and make sure to run the fourth cell that calls add_primitives_path and add_pipelines_path.
This should fix the above error.

If you are still facing issues, please let me know!

@sarahmish sarahmish added the question Further information is requested label Nov 9, 2023
@dxiaosa
Copy link

dxiaosa commented Nov 10, 2023

Hi @potatoVStomato, thank you for using Orion!

I have noted your issue and made some changes to the tulog, please try it again now and make sure to run the fourth cell that calls add_primitives_path and add_pipelines_path. This should fix the above error.

If you are still facing issues, please let me know!

Same problem. seems didn't find add_primitives_path and add_pipelines_path in tulog. Does it still not been updated yet?

@sarahmish
Copy link
Collaborator

Make sure you run cell 4 in the tulog, it should fix the issue above.

I recently updated the tulog to install the latest version of Orion from github directly. This makes it compatible with python 3.10 and colab. If you still see the issue above, please let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants