How to bring MonkeyLearn Models to MindsDB
Before creating a model, you will need to create the ML_ENGINE for MonkeyLearn using theCREATE ML_ENGINE
syntax
CREATE MODEL
statement to bring MonkeyLearn models to MindsDB.
For this example, you will make use of MonkeyLearn’s pre-made model E-commerce Support Ticket Classifier
.
Expression | Description |
---|---|
ecommerce_ticket_classifier | The model name provided to the model created in MindsDB. |
tag | The column that will provide the predicted result. |
engine | The ML framework engine used, which is MonkeyLearn. |
api_key | The API Key of the model provided by MonkeyLearn. |
model_id | The respective model’s ID you want to make use of. |
input_column | Specifies the input column fed to the model |
DESCRIBE
syntax to verify the model’s status.
SELECT
statement to make a prediction on the model.
Create and train a model.
You can also create a model with a dataset. For this example, we will be using a dataset consisting of messages for E-commerce support tickets. The dataset will be uploaded as a file onto the GUI. Use theCREATE MODEL
syntax:
SELECT
statement to make a prediction