!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/mindsDb/node_modules/mindsdb-js-sdk/docs/classes/   drwxr-xr-x
Free 13.24 GB of 57.97 GB (22.85%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     models_modelsRestApiClient.default.html (88.85 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
default | mindsdb-js-sdk

Implementation of ModelsApiClient that goes through the REST API

Hierarchy

Constructors

Properties

sqlClient: default

SQL API client to send all SQL query requests.

Methods

  • Partially adjusts this model with the given options.

    Throws

    • Something went wrong querying the model.

    Parameters

    • name: string

      Name of the model.

    • project: string

      Project the model belongs to.

    • adjustOptions: AdjustOptions

    Returns Promise<void>

  • Queries this model for a batch prediction by joining with another data source.

    Returns

    • All prediction results from the batch query.

    Throws

    • Something went wrong querying the model.

    Parameters

    • name: string

      Name of the model.

    • version: number
    • targetColumn: string

      Column that the model predicts.

    • project: string

      Project the model belongs to.

    • options: BatchQueryOptions

      Options to use when querying the model.

    Returns Promise<ModelPrediction[]>

  • Deletes this model.

    Throws

    • Something went wrong deleting the model.

    Parameters

    • name: string

      Name of the model.

    • project: string

      Project the model belongs to.

    Returns Promise<void>

  • Gets a model by name and project.

    Returns

    • The matching model, or undefined if none exists.

    Parameters

    • name: string

      Name of the model.

    • project: string

      Project the model belongs to.

    • Optional version: number

      The version of the model.

    Returns Promise<undefined | Model>

  • Queries this model for a single prediction. For batch predictions, use batchQuery.

    Returns

    • The prediction result.

    Throws

    • Something went wrong querying the model.

    Parameters

    • name: string

      Name of the model.

    • version: number
    • targetColumn: string

      Column that the model predicts.

    • project: string

      Project the model belongs to.

    • options: QueryOptions

      Options to use when querying the model.

    Returns Promise<ModelPrediction>

  • Rerains this model with the given options.

    Throws

    • Something went wrong querying the model.

    Parameters

    • name: string

      Name of the model.

    • targetColumn: string

      Column for the model to predict.

    • project: string

      Project the model belongs to.

    • Optional trainingOptions: TrainingOptions

    Returns Promise<void>

  • Trains this model with the given options.

    Throws

    • Something went wrong querying the model.

    Parameters

    • name: string

      Name of the model.

    • targetColumn: string

      Column for the model to predict.

    • project: string

      Project the model belongs to.

    • trainingOptions: TrainingOptions

    Returns Promise<Model>

Generated using TypeDoc


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0572 ]--