| { |
| "name": "sample", |
| "version": "v0.0.1", |
| "engineType": "python", |
| "artifactsRemotePath": "/tmp/marvin", |
| "onlineActionTimeout": 1000, |
| "healthCheckTimeout": 2000, |
| "reloadTimeout": 12000, |
| "pipelineActions": ["acquisitor", "tpreparator", "trainer", "evaluator"], |
| "hdfsHost": "hdfs://marvin-hadoop:8020", |
| "actions": [{ |
| "name": "acquisitor", |
| "actionType": "batch", |
| "port": 50051, |
| "host": "localhost", |
| "artifactsToPersist": ["initialdataset"], |
| "artifactsToLoad": [], |
| "pipeline": [] |
| }, { |
| "name": "tpreparator", |
| "actionType": "batch", |
| "port": 50052, |
| "host": "localhost", |
| "artifactsToPersist": ["dataset"], |
| "artifactsToLoad": ["initialdataset"], |
| "pipeline": [] |
| }, { |
| "name": "trainer", |
| "actionType": "batch", |
| "port": 50053, |
| "host": "localhost", |
| "artifactsToPersist": ["model"], |
| "artifactsToLoad": ["dataset"], |
| "pipeline": [] |
| }, { |
| "name": "evaluator", |
| "actionType": "batch", |
| "port": 50054, |
| "host": "localhost", |
| "artifactsToPersist": ["metrics"], |
| "artifactsToLoad": ["dataset"], |
| "pipeline": [] |
| }, { |
| "name": "predictor", |
| "actionType": "online", |
| "port": 50055, |
| "host": "localhost", |
| "artifactsToPersist": [], |
| "artifactsToLoad": ["model"], |
| "pipeline": ["ppreparator"] |
| }] |
| } |