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 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 63
BelongsTo
volume()
The volume, this MAIA job belongs to.
at line 73
BelongsTo
user()
The user who created this MAIA job.
at line 83
BelongsTo
trainingProposals()
The training proposals of this MAIA job.
at line 93
BelongsTo
annotationCandidates()
The annotation candidates of this MAIA job.
at line 103
bool
isRunning()
Determine if the job is currently running novelty detection or object detection.
at line 114
bool
hasFailed()
Determine if the job failed during novelty detection or object detection.
at line 125
bool
requiresAction()
Determine if the job requires a user action to continue
at line 135
array
getParamsAttribute()
Get the configured parameters of this job.
at line 145
setParamsAttribute(array $params)
Set the configured parameters of this job.
at line 155
array
getErrorAttribute()
Get the error information on this job (if any).
at line 165
setErrorAttribute(array $error)
Set the error information for this job.
at line 175
bool
shouldUseExistingAnnotations()
Determine if this job should use existing annotations to get training data.
at line 185
bool
shouldUseNoveltyDetection()
Determine if this job should use novelty detection to get training data.
at line 196
bool
shouldUseKnowledgeTransfer()
Determine if this job should use knowledge transfer to get training data.
at line 207
bool
getConvertingCandidatesAttribute()
Determine whether a job to convert candidates is running.
at line 217
setConvertingCandidatesAttribute(bool $converting)
Set whether a job to convert candidates is running.
at line 227
bool
shouldShowTrainingProposals()
Determine if this job should show the training porposals tabs.
at line 239
static protected Factory
newFactory()
Create a new factory instance for the model.