This example illustrates an alternate input format. The attribute table and response table of Example 1 are combined into a single table, iris_altinput, which is used in the argument Inputtable().
pid | attribute | attrvalue | response |
---|---|---|---|
1 | petal_width | 0.2 | 1 |
1 | petal_length | 1.4 | 1 |
1 | sepal_width | 3.5 | 1 |
1 | sepal_length | 5.1 | 1 |
2 | petal_width | 0.2 | 1 |
2 | petal_length | 1.4 | 1 |
2 | sepal_width | 3 | 1 |
2 | sepal_length | 4.9 | 1 |
3 | petal_width | 0.2 | 1 |
3 | petal_length | 1.3 | 1 |
3 | sepal_width | 3.2 | 1 |
3 | sepal_length | 4.7 | 1 |
4 | petal_width | 0.2 | 1 |
4 | petal_length | 1.5 | 1 |
4 | sepal_width | 3.1 | 1 |
4 | sepal_length | 4.6 | 1 |
... | ... | ... | .... |