loudml icon indicating copy to clipboard operation
loudml copied to clipboard

API for updating existing models not documented

Open daradermody opened this issue 6 years ago • 2 comments

The API that allows for updating existing models works, but doesn't seem to be documented (POST localhost:8077/models/my-model)

daradermody avatar Oct 19 '18 12:10 daradermody

Hi @daradermody, you're right. In the TICK-L we solved this scenario with a "locked" panel. Certain settings (eg the features list, bucket interval, span, forecast) cannot be changed once the model is trained, due to ML topology constraint. We still have to document it, and throw an exception if an unsupported change is requested to the API.

You can use this POST call for example to change the interval value, offset, and anomaly thresholds.

regel avatar Oct 19 '18 15:10 regel

Documentation is included in the OSS, docs/reference/* feel free to contribute. Thank you @daradermody

regel avatar Feb 25 '19 08:02 regel