BoostV / BoostV/process-optimizer-api
Support dynamic calculations on trained model
- Vorherrschende Sprache
- Python
- Sterne
- 8
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api, backend, machine-learning
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100