This script implements a dataset generator that, given an input dataset and an item field in it, creates a new dataset with a column for each of the items in the field. Each column is an indicator of whether the value of the field in the instance contains the item denoted the corresponding column.
Generation of the new columns is accomplished via Flatline. This WhizzML script needs only to construct the adequate Flatline string and send it to BigML's dataset service. The expression is simple: a list of checks, one for each possible item, using the Flatline built-in contains-items?.
This script implements a dataset generator that, given an input dataset and an item field in it, creates a new dataset with a column for each of the items in the field. Each column is an indicator of whether the value of the field in the instance contains the item denoted the corresponding column.
Generation of the new columns is accomplished via Flatline. This WhizzML script needs only to construct the adequate Flatline string and send it to BigML's dataset service. The expression is simple: a list of checks, one for each possible item, using the Flatline built-in contains-items?.
This script implements a dataset generator that, given an input dataset and an item field in it, creates a new dataset with a column for each of the items in the field. Each column is an indicator of whether the value of the field in the instance contains the item denoted the corresponding column.
Generation of the new columns is accomplished via Flatline. This WhizzML script needs only to construct the adequate Flatline string and send it to BigML's dataset service. The expression is simple: a list of checks, one for each possible item, using the Flatline built-in contains-items?.