Jump to content

Sanman Mehta

Super Seeqer
  • Posts

    35
  • Joined

  • Last visited

  • Days Won

    14

Posts posted by Sanman Mehta

  1. Hi Eric, Apologies for late reply. It got lost in the shuffle. 

    Yes this is doable.  You can check out Workbooks Templates jupyter notebook in SPy Documentation.  Also depending on details of the use case there maybe another method as well using spy.workbooks search -> pull -> save ->load -> push where push step includes map (csv file) of your Old ID and New ID column corresponding to asset tree old and new leaf respectively.

    Sanman

  2. Seeq stores all results in cache (most cases), so once you have done calculations once, they should not need recalculation for 10 years every time and resulting signal can be instantly used in further calculations.  This should help alleviate calculation load from 2nd time onwards such that only new calculation would be for the last 1 day.  You should not have to run scripts for 10 years everyday. 

    Sanman

  3. Check out the data lab script and video that walks through it to automate data pull->apply ml->push results to workbench in an efficient manner.  Of course you can skin the cat many different ways however this gives a good way to do it in bulk.

    Use case details:

    Apply ML on Temperature signals across the whole Example Asset Tree on a weekly basis.  For your case, you can build you own asset tree and filter the relevant attributes instead of Temperature and set spy.jobs.schedule frequency to whatever works for you. 

    Let me know if there are any unanswered questions in my post or demo.  Happy to update as needed.

    Apply ML on Asset Tree Rev0.ipynb

    • Like 3
  4. Yes! You can deploy ipywidgets from jupyter notebooks in data lab.  Widgets can be great for wrapping code in UI for No-code experience from workbench using Seeq Add-on tools for implementing Machine Learning models.

    Here is one example for datepicker.

     

    import ipywidgets as widgets #import the library
    
    
    widgets.DatePicker(
                description='Start:',
                style={'description_width': '150px'},
                layout={'width': '300px'}) 

    You can read more about various widgets here:  https://ipywidgets.readthedocs.io/en/latest/examples/Widget List.html

    • Thanks 1
×
×
  • Create New...