Skip to main content

Get ALL Cached Models

This is the process of checking all details.

Method: GET Authorization: NO
https://engine.raccoon-ai.io/api/v1/explore/ml/cached/get-all

Reponse Body

KeyData TypeDescription
idstringProject identification number
user_idstringUser identification number
model_pathstringSaved path for the model
featureslistSet of features
targetslistSet of targets
algo_typestringAlgorithem type
types_mapjsonTypes of the features selected
project_idstringUnique project identiication number
train_accufloatAccuracy of the trained model (between 0-1)
datasetjsonThe prediction dataset
permanent_saveboolIndiacating whether permently saved or not
created_tsdatetimeCreated time of the project
updated_tsdatetimeIf updated, updated time of the project
hyper_paramsjsonThe hyper parameters used for the model
gen_atdatetimeThe time of this request made

Types

{
{
"id": <string>,
"user_id": <string>,
"model_path":<string>,
"features": <list>,
"targets": <list>,
"algo_type": <string>,
"types_map": <json>,
"project_id": <string>,
"train_accu": <float>,
"test_accu": <float>,
"dataset": <string>,
"permanent_save": <bool>,
"created_ts": <datatime>,
"updated_ts": <datatime>,
"hyper_params": <json>
},
"gen_at": <datetime>
}

Sample

{
"success": true,
"msg": "Model fetched",
"error_code": null,
"result": [
{
"id": "e792ae43-9055-40ae-8e91-70080b6e99f0",
"user_id": "7f7c0c39-0930-43f2-81a3-29e3cffecaa4",
"model_path": "/home/navi/CODE/Raccoon-AI-Engine/app/storage/cached_ml/7f7c0c39-0930-43f2-81a3-29e3cffecaa4/models/e792ae43-9055-40ae-8e91-70080b6e99f0.jlb",
"features": [
"R&D Spend",
"Administration",
"Marketing Spend",
"State"
],
"targets": [
"Profit"
],
"algo_type": "Multiple Linear Regressor",
"types_map": {
"R&D Spend": "float64",
"Administration": "float64",
"Marketing Spend": "float64",
"State": "object",
"Profit": "float64"
},
"project_id": "Project1-96507",
"train_accu": 0.9424153873982086,
"test_accu": 0.9649827631091707,
"dataset": null,
"permanent_save": false,
"created_ts": "2023-03-16T15:17:03.479329",
"updated_ts": "2023-03-16T15:17:03.479333",
"hyper_params": null
},
...
],
"gen_at": "2023-06-08T07:21:50.963629"
}