Monarch Database API - v1.0.0
Preparing search index...
AIMLIntegration
Class AIMLIntegration
Hierarchy (
View Summary
)
AIMLIntegration
EnhancedAIMLIntegration
Implements
MLIntegration
Index
Constructors
constructor
Methods
create
Ensemble
deploy
Model
get
Loaded
Models
get
Model
Stats
load
Model
optimize
Model
run
Inference
suggest
Model
Config
train
Model
unload
Model
validate
Model
Constructors
constructor
new
AIMLIntegration
()
:
AIMLIntegration
Returns
AIMLIntegration
Methods
create
Ensemble
createEnsemble
(
models
:
string
[]
,
weights
?:
number
[]
)
:
Promise
<
string
>
Parameters
models
:
string
[]
Optional
weights
:
number
[]
Returns
Promise
<
string
>
deploy
Model
deployModel
(
modelId
:
string
,
target
:
"edge"
|
"cloud"
|
"hybrid"
)
:
Promise
<
void
>
Parameters
modelId
:
string
target
:
"edge"
|
"cloud"
|
"hybrid"
Returns
Promise
<
void
>
get
Loaded
Models
getLoadedModels
()
:
MLModel
[]
Returns
MLModel
[]
get
Model
Stats
getModelStats
(
modelId
:
string
,
)
:
Promise
<
{
accuracy
:
number
;
latency
:
number
;
throughput
:
number
}
>
Parameters
modelId
:
string
Returns
Promise
<
{
accuracy
:
number
;
latency
:
number
;
throughput
:
number
}
>
load
Model
loadModel
(
model
:
MLModel
,
modelData
:
Buffer
)
:
Promise
<
string
>
Parameters
model
:
MLModel
modelData
:
Buffer
Returns
Promise
<
string
>
optimize
Model
optimizeModel
(
modelId
:
string
,
targetMetric
:
"accuracy"
|
"latency"
|
"throughput"
,
)
:
Promise
<
MLModel
>
Parameters
modelId
:
string
targetMetric
:
"accuracy"
|
"latency"
|
"throughput"
Returns
Promise
<
MLModel
>
run
Inference
runInference
(
modelId
:
string
,
input
:
number
[]
[]
)
:
Promise
<
InferenceResult
>
Parameters
modelId
:
string
input
:
number
[]
[]
Returns
Promise
<
InferenceResult
>
suggest
Model
Config
suggestModelConfig
(
data
:
TrainingData
)
:
Promise
<
MLModel
>
Parameters
data
:
TrainingData
Returns
Promise
<
MLModel
>
train
Model
trainModel
(
modelId
:
string
,
data
:
TrainingData
,
_options
?:
Record
<
string
,
any
>
,
)
:
Promise
<
MLModel
>
Parameters
modelId
:
string
data
:
TrainingData
Optional
_options
:
Record
<
string
,
any
>
Returns
Promise
<
MLModel
>
unload
Model
unloadModel
(
modelId
:
string
)
:
Promise
<
void
>
Parameters
modelId
:
string
Returns
Promise
<
void
>
validate
Model
validateModel
(
modelId
:
string
,
validationData
:
TrainingData
,
)
:
Promise
<
{
accuracy
:
number
;
loss
:
number
}
>
Parameters
modelId
:
string
validationData
:
TrainingData
Returns
Promise
<
{
accuracy
:
number
;
loss
:
number
}
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
Ensemble
deploy
Model
get
Loaded
Models
get
Model
Stats
load
Model
optimize
Model
run
Inference
suggest
Model
Config
train
Model
unload
Model
validate
Model
Monarch Database API - v1.0.0
Loading...