Class BTPredictionPPartsManagement
java.lang.Object
overit.geocall.bl.BusinessTask<Void>
overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
overit.geocallapp.wfm.ai.bl.processing.task.BTBasicPrediction
overit.geocallapp.wfm.ai.bl.predictivepartsmanagement.task.BTPredictionPPartsManagement
- All Implemented Interfaces:
Serializable,Tool
- Direct Known Subclasses:
BTTestPredictionPPM
Task to call a prediction configuration algorithm for Predictive Parts
Management.
- Since:
- 11.0
- See Also:
- GCApi:
- task
-
Field Summary
FieldsFields inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicPrediction
allLogs, api, FIELD_END_DATE, FIELD_OPERATIONS, FIELD_START_DATE, MAX_ROWS_REST_REQUEST, REPORT_FILENAMEFields inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
algorithmName, asyncQueueMode, configurationParamsHistory, elaborationHistory, factory, filesToDelete, headers, instanceType, modelName, resourcesFolder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildDatasetFileName(Date startDate) protected FilebuildFileToTransfer(DBView operations, PoolKit pk) Build the File object that must be loaded on AWSprotected voidThis method build the work order and operation status for massive predictions.protected DBViewgetOperationsData(HashGetter filter, PoolKit pk) protected voidElaborate prediction results.voidsetFixedOperationSet(LongSet fixedOperationSet) Methods inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicPrediction
elaborateTask, getAwsUploadPath, getLogValidityDays, isSingleCall, setSingleCallMethods inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
body, buildHeaders, checkConfiguration, clearOldLogs, deleteFileS3, deleteTemporaryFiles, getAiConfiguration, getConfigurationParamsHistory, getElaborationHistory, getError, getJobName, getResourcesFolder, getTrainingType, isAsyncQueueMode, prepareDataForApi, setAiConfiguration, setAsyncQueueMode, setJobName, setResourcesFolder, setTrainingType, uploadFileS3, writeLogTableMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
LOG
-
-
Constructor Details
-
BTPredictionPPartsManagement
public BTPredictionPPartsManagement()
-
-
Method Details
-
setFixedOperationSet
-
buildOperationsMap
protected HashMap<Date,DBView> buildOperationsMap(PoolKit pk) throws DAException, DAValidateException - Specified by:
buildOperationsMapin classBTBasicPrediction- Throws:
DAExceptionDAValidateException
-
buildStatusForMassivePredictions
This method build the work order and operation status for massive predictions.- Parameters:
filter-
-
getOperationsData
protected DBView getOperationsData(HashGetter filter, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
buildFileToTransfer
protected File buildFileToTransfer(DBView operations, PoolKit pk) throws DAException, DAValidateException Description copied from class:BTBasicPredictionBuild the File object that must be loaded on AWS- Specified by:
buildFileToTransferin classBTBasicPrediction- Parameters:
operations-pk-- Returns:
- Throws:
DAExceptionDAValidateException
-
buildDatasetFileName
-
managePredictResults
protected void managePredictResults(List<Map<String, Object>> predictionResult, PoolKit pk) throws DAException, DAValidateExceptionDescription copied from class:BTBasicPredictionElaborate prediction results.- Specified by:
managePredictResultsin classBTBasicPrediction- Parameters:
predictionResult- the prediction resultpk- the pk- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-