Back to Mindsdb

Describe a Model

docs/rest/models/describe-model.mdx

26.1.0909 B
Original Source
<ResponseExample>
json
[
    {
        "accuracies": {
            "r2_score": 0.999
        },
        "column_importances": {
            "days_on_market": 0.116,
            "location": 0.054,
            "neighborhood": 0.0,
            "number_of_bathrooms": 0.009,
            "number_of_rooms": 0.297,
            "sqft": 1.037
        },
        "inputs": [
            "number_of_rooms",
            "number_of_bathrooms",
            "sqft",
            "location",
            "days_on_market",
            "neighborhood"
        ],
        "model": "encoders --> dtype_dict --> dependency_dict --> model --> problem_definition --> identifiers --> imputers --> accuracy_functions",
        "outputs": [
            "rental_price"
        ]
    }
]
</ResponseExample> <Note>

The REST API endpoints can be used with MindsDB running locally at http://127.0.0.1:47334/api.

</Note>