Description
TheDESCRIBE
statement is used to display the attributes of an existing model.
The available options to describe a model depend on the underlying engine.
Syntax
Here is how to retrieve general information on the model:DESCRIBE
outputs an additional column that stores all available options to describe a model, depending on the underlying engine.
Examples
Lightwood Models
MindsDB uses the Lightwood engine by default. Let’s see how to describe such models.tables
output column lists all available options to describe a model.
Name | Description |
---|---|
accuracies | It lists the accuracy function used to evaluate the model and the achieved score. |
column_importances | It lists all feature-type columns and assigns importance values. |
outputs | The target column. |
inputs | All the feature columns. |
NLP Models
MindsDB offers NLP models that utilize either Hugging Face or OpenAI engines. Let’s see how to describe such models.tables
output column lists all available options to describe a model.
Name | Description |
---|---|
key | It stores parameters, such as prompt_template and target . |
value | It stores parameter values. |
Nixtla Models
MindsDB integrates Nixtla engines, such as StatsForecast, NeuralForecast, and HierarchicalForecast. Let’s see how to describe models based on Nixtla engines.tables
output column lists all available options to describe a model.
Name | Description |
---|---|
accuracies | It lists the chosen model name and its accuracy score. |
outputs | The target column. |
inputs | All the feature columns. |
Other Models
Models that utlize LangChain or are brought to MindsDB via MLflow can be described as follows:["info"]
in its first output column.
If you need more information on how to
DESCRIBE [MODEL]
or understand the results, feel free to ask us on the community Slack workspace.