Documentation
Preparing search index...
@saltcorn/data
models/model_instance
export=
Class export=
Model Class
Index
Constructors
constructor
Properties
fit_
object
hyperparameters
id?
is_
default
metric_
values
model_
id
name
parameters
report
state
trained_
on
Accessors
to
Json
Methods
delete
make_
default
predict
update
create
find
find
One
Constructors
constructor
new
"export="
(
o
:
export=
|
ModelInstanceCfg
)
:
export=
ModelInstance constructor
Parameters
o
:
export=
|
ModelInstanceCfg
Returns
export=
Properties
fit_
object
fit_object
:
Buffer
hyperparameters
hyperparameters
:
GenObj
Optional
id
id
?:
number
is_
default
is_default
:
boolean
metric_
values
metric_values
:
any
model_
id
model_id
:
number
name
name
:
string
parameters
parameters
:
any
report
report
:
string
state
state
:
GenObj
trained_
on
trained_on
:
Date
Accessors
to
Json
get
toJson
()
:
any
Returns
any
Methods
delete
delete
()
:
Promise
<
void
>
Returns
Promise
<
void
>
make_
default
make_default
(
disable
?:
boolean
)
:
Promise
<
void
>
Parameters
Optional
disable
:
boolean
Returns
Promise
<
void
>
predict
predict
(
rows
:
Row
[]
)
:
Promise
<
any
>
Parameters
rows
:
Row
[]
Returns
Promise
<
any
>
update
update
(
row
:
Partial
<
export=
>
)
:
Promise
<
void
>
Parameters
row
:
Partial
<
export=
>
Returns
Promise
<
void
>
Static
create
create
(
lib_in
:
ModelInstanceCfg
)
:
Promise
<
export=
>
Parameters
lib_in
:
ModelInstanceCfg
Returns
Promise
<
export=
>
Static
find
find
(
where
:
Where
,
selectopts
?:
SelectOptions
)
:
Promise
<
export=
[]
>
Parameters
where
:
Where
Optional
selectopts
:
SelectOptions
Returns
Promise
<
export=
[]
>
Static
find
One
findOne
(
where
:
Where
,
selectopts
?:
SelectOptions
)
:
Promise
<
export=
>
Parameters
where
:
Where
Optional
selectopts
:
SelectOptions
Returns
Promise
<
export=
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
fit_
object
hyperparameters
id
is_
default
metric_
values
model_
id
name
parameters
report
state
trained_
on
Accessors
to
Json
Methods
delete
make_
default
predict
update
create
find
find
One
Documentation
Loading...
Model Class