Jump to content

Applying a created datamodel


Go to solution Solved by Patrick,

Recommended Posts

Posted (edited)

I've created a random forest datamodel that predicts a certain parameter based on 10 different variables. Is there a way to apply this datamodel on live data and create a Seeq tag for the result?

Edited by Kato
  • Like 1
  • Kato changed the title to Applying a created datamodel
  • Seeq Team
  • Solution
Posted

Hi Kato - Yes, you can apply your model on data in Seeq, although it won't be "live" in the sense of streaming results as new samples come in. 

What we usually do in a situation like this is to schedule the notebook using `spy.jobs.schedule()` to pull in the latest input data, apply the model, and then push the results back to Seeq. 

Check out the "spy.pull.ipynb", "spy.push.ipynb", and "spy.jobs.ipynb" notebooks in the "SPy Documentation" folder for examples.
 

  • Seeq Team
Posted

Hi Kato - I noticed you replied earlier with a follow-up question but it looks like it was removed.  I assume the above approach worked for you?  If not, let me know.

  • 1 month later...
  • 3 months later...
Posted

Hi Patrick,

I've realised my scheduling spy.jobs.schedule() often stops working. 

The error is: ScheduledNotebook 'NotebookJobs.NotebookJobs-0ef96d82-3bd8-7520-96b4-97106e5bd2a1_0' request was not run properly. HTTP status: 503, Body: {"canRetry":true,"statusMessage":"Could not start an instance of the Job because the container failed load or exceeded timeout of 60 seconds"}

How do I make sure my notebooks keep running?

Thanks!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...