This example takes two tables as input:
- The binary-format model svm_iris_model (produced by SparseSVMTrainer)
- The test data svm_iris_input_test
id | species | attribute | value |
---|---|---|---|
5 | setosa | sepal_length | 5.0 |
5 | setosa | sepal_width | 3.6 |
5 | setosa | petal_length | 1.4 |
5 | setosa | petal_width | 0.2 |
10 | setosa | sepal_length | 4.9 |
10 | setosa | sepal_width | 3.1 |
10 | setosa | petal_length | 1.5 |
10 | setosa | petal_width | 0.1 |
15 | setosa | sepal_length | 5.8 |
15 | setosa | sepal_width | 4.0 |
15 | setosa | petal_length | 1.2 |
15 | setosa | petal_width | 0.2 |
... | ... | ... | ... |