-
Notifications
You must be signed in to change notification settings - Fork 16
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
demo: shiny app (Python) #83
Comments
I just added docs for shiny express, regular shiny should be pretty similar: https://docs.cloud.ploomber.io/en/latest/apps/shiny-express.html |
This looks interesting: https://divine-rain-1541.ploomberapp.io/
We can do something similar to https://sklearn-evaluation.ploomber.io/en/latest/comparison/nn_tracking.html |
Can I start on this? @edublancas |
yes, this sounds like a good idea! I'm guessing you're going to generate some fake data to populate the dashboard? |
no I think we can use some dataset and train and , it on every epoch write the losses and accuracy values in a sqlite db, just like we did using the sqlitetracker. and then the dashboard can pick up dynamically. I'll try this way and see if it works @edublancas |
the problem is that you'll need two concurrent processes: the shiny one and the one that trains the model. you might get that to work in a single dockerfile but it'll be confusing to users because they'll have no control over the training process. and the resources provided for the app are small, so training will take a lot of time. what you can do is to write to a remote database. you start the training process locally and write to a remote db and then shiny reads that db, this is much more appealing because users will be able to see how changes in their terminal reflect in real-time in the dashboard but you'll need to find a free db provider, if you can use mongo db, that's a good option because it's a a big company and there's less of a chance that they'll change their free tier https://www.mongodb.com/pricing |
sure I'll try this way! |
@neelasha23 remember to put "closes #X" in your PRs so the issue is closed automatically closed by #105 |
a sample shiny app with Python: https://shiny.posit.co/py/
we don't support shiny yet so we'll need to deploy it via the docker option: https://docs.cloud.ploomber.io/en/latest/apps/docker.html
requirements
The text was updated successfully, but these errors were encountered: