Description

The db.models.insertOne({"name": "model_name","action": "retrain"}) function is used retrain a model.

Syntax

Here is the syntax:

db.models.insertOne({"name": "model_name","action": "retrain"})