BoostV / BoostV/process-optimizer-api

Support dynamic calculations on trained model

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
8
Forks
1
PR merge metrics
No merged PRs in 30d

Description

We should be able to support different kinds of dynamic calculations on the trained model.
At the moment some of these operations are exposed as methods on the model found inside the result object.

One example is the exploration of the model's representation of a single point in https://github.com/novonordisk-research/ProcessOptimizer/blob/develop/examples/7Dimensional_optimization_and_plotting.ipynb where the following code is executed to generate further data
```python
samples_of_y = res.models[-1].sample_y(transformed_point, n_samples=25000, random_state=None)`
```
These calculations has to be made on the server as it is the only place we have access to python. The solution currently pursued is to send the pickled result from #6 to the server and use it for further calculations

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the REST API server and the example at examples/7Dimensional_optimization_and_plotting.ipynb, especially the res.models[-1].sample_y(...) call. Review the pickled result approach described in #6 and identify how dynamic calculations on the trained model should be exposed. Done means the server can perform the requested model calculations without requiring local Python access.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.