Description

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

Syntax

Here is the syntax:

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