MaiaJob
class MaiaJob extends Model
Traits
Constants
TRAIN_NOVELTY_DETECTION |
|
TRAIN_OWN_ANNOTATIONS |
|
TRAIN_KNOWLEDGE_TRANSFER |
|
TRAIN_AREA_KNOWLEDGE_TRANSFER |
|
Properties
protected array | $casts | The attributes that should be casted to native types. |
|
protected array | $dispatchesEvents | The event map for the model. |
Methods
Set a dynamic JSON attribute.
Get a dynamic JSON attribute.
The volume, this MAIA job belongs to.
The user who created this MAIA job.
The state of this MAIA job.
The training proposals of this MAIA job.
The annotation candidates of this MAIA job.
Determine if the job is currently running novelty detection or object detection.
Determine if the job failed during novelty detection or object detection.
Determine if the job requires a user action to continue
Get the configured parameters of this job.
Set the configured parameters of this job.
Get the error information on this job (if any).
Set the error information for this job.
Determine if this job should use existing annotations to get training data.
Determine if this job should use novelty detection to get training data.
Determine if this job should use knowledge transfer to get training data.
Determine whether a job to convert candidates is running.
Set whether a job to convert candidates is running.
Determine if this job should show the training porposals tabs.
Create a new factory instance for the model.
Details
in
HasJsonAttributes at line 16
protected
setJsonAttr(string $key, mixed $value, string $attrs = 'attrs')
Set a dynamic JSON attribute.
in
HasJsonAttributes at line 38
protected mixed
getJsonAttr(string $key, mixed $default = null, string $attrs = 'attrs')
Get a dynamic JSON attribute.
at line 62
BelongsTo
volume()
The volume, this MAIA job belongs to.
at line 72
BelongsTo
user()
The user who created this MAIA job.
at line 82
BelongsTo
state()
The state of this MAIA job.
at line 92
BelongsTo
trainingProposals()
The training proposals of this MAIA job.
at line 102
BelongsTo
annotationCandidates()
The annotation candidates of this MAIA job.
at line 112
bool
isRunning()
Determine if the job is currently running novelty detection or object detection.
at line 123
bool
hasFailed()
Determine if the job failed during novelty detection or object detection.
at line 134
bool
requiresAction()
Determine if the job requires a user action to continue
at line 144
array
getParamsAttribute()
Get the configured parameters of this job.
at line 154
setParamsAttribute(array $params)
Set the configured parameters of this job.
at line 164
array
getErrorAttribute()
Get the error information on this job (if any).
at line 174
setErrorAttribute(array $error)
Set the error information for this job.
at line 184
bool
shouldUseExistingAnnotations()
Determine if this job should use existing annotations to get training data.
at line 194
bool
shouldUseNoveltyDetection()
Determine if this job should use novelty detection to get training data.
at line 205
bool
shouldUseKnowledgeTransfer()
Determine if this job should use knowledge transfer to get training data.
at line 216
bool
getConvertingCandidatesAttribute()
Determine whether a job to convert candidates is running.
at line 226
setConvertingCandidatesAttribute(bool $converting)
Set whether a job to convert candidates is running.
at line 236
bool
shouldShowTrainingProposals()
Determine if this job should show the training porposals tabs.
at line 248
static protected Factory
newFactory()
Create a new factory instance for the model.