-
Notifications
You must be signed in to change notification settings - Fork 1
/
random_forest.yml
54 lines (51 loc) · 1.13 KB
/
random_forest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
version: 1.1
kind: component
tags: [examples]
name: random_forest
# more here: https://polyaxon.com/docs/core/specification/io/
inputs:
- name: n_estimators
type: int
value: 3
isOptional: true
- name: max_features
type: int
value: 3
isOptional: true
- name: min_samples_leaf
type: int
value: 80
isOptional: true
outputs:
- name: accuracy_mean
type: float
description: Avg ACC from cross validation
- name: accuracy
type: float
description: ACC from each fold in cross validation
- name: accuracies
type: any
description: Histogram of accuracies in cross validation
- name: accuracy_std
type: float
description: ACC std from cross validation
- name: model
type: artifacts
description: Cross validation top model
run:
kind: job
container:
image: quay.io/kiiaed/plx-test:random_forest
workingDir: "{{ globals.artifacts_path }}/repo"
command:
- python
args:
- -m
- bin.random_forest
- --n_estimators
- "{{ n_estimators }}"
- --max_features
- "{{ max_features }}"
- --min_samples_leaf
- "{{ min_samples_leaf }}"