Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In order to ensure that we are able to give our customers a reflection of both past and future state - it is imperative that we add forecasting capabilities to our product. We will use H20 as the AI/ML platform for forecasting capabilities and it would be integrated to Insights for training and model deploymentPre-Requisite:  

  1. Start the H2O jar locally using below command.

java -jar h2o.jar 
 

  1. By default H2O starts in port: 54321.
  2. Mention below configuration inside server-config.json.

"mlConfiguration": {"h2oEndpoint": "http://localhost:54321"}.

  1. DB Table Entry: INSIGHTS_WORKFLOW_TYPE  :

  Manual entry in PostgreSQL, mention type as AUTOML .  
API Used:- /PlatformService/insights/workflow/saveWorkflowTask  
Workflow task Json
{"description":"H2O_AutoML_Execute","mqChannel":"WORKFLOW.TASK.AUTOML.EXCECUTION","componentName":"com.cognizant.devops.automl.task.core.AutoMLSubscriber","dependency":-1,"workflowType":"AUTOML"}

 
 
Configure Usecase :

    1. Navigate to Forecasting: Here you will see already created usecases.


Image Added

    1. Click on add button to upload data.

Image Added
 

  1. Input unique usecase name and upload test csv data.
  2. Once the file gets uploaded then below details needs to be filled.


Image Added

    1. Split Ratio: Select split percentage as Training and Test.
    2. Maximum Models to run: Specify the number which indicates maximum algorithms to run against training data.
    3. Response Column: select response column as prediction column.
    4. Prediction Type: Select prediction type as either Classification or Regression.
  1. Fill the details for each column type and mention columns used for word2vector analysis.


Image Added

  1. Click on the save button to save the usecase.
  2. The usecase is save as ONETIME workflow and is picked up by Immediate Workflow Scheduler.



Executing Usecase:

    1. To execute the usecase run the workflow engine.
    2. Once workflow ran successfully check the status of the workflow as LEADERBOAD_READY as highlighted below.


Image Added

    1. Select this usecase and click on the Leaderboard button on the Top.
    2. Select the best MOJO in the list and Save the MOJO.
    3. Once MOJO gets saved the Status is changed to MOJO_DEPLOYED as highlighted below and the usecase would be ready for further use in Report Section.


Image Added
KPI Creation:

  1. Refer below sample KPI creation window
    Anchor
    _GoBack
    _GoBack
    .
  2. Category must be selected as PREDICTION.
  3. Select the usecase from the list. The list of those usecase available whose status is MOJO_DEPLOYED in Usecase Management Screen.
  4. Save the KPI.



Image Added
 
Report Configuration: 

  1. Report configuration steps are same as Report Management so refer Report Configuration Documentation.
  2. While creating the report make sure selecting KPI's created at KPI creation step.