Database Reference
In-Depth Information
Figure 9-1. Setting the 2nd_Heart_Attack attribute's
data type to 'nominal' during import.
2) At this time you can also change the 2nd_Heart_Attack attribute's role to 'label', if you
wish. We have not done this in Figure 9-1, and subsequently we will be adding a Set Role
operator to our stream as we continue our data preparation.
3) Complete the data import process for the training data, then drag and drop the data set
into a new, blank main process. Rename the data set's Retrieve operator as Training.
4) Import the scoring data set now. Be sure the data type for all attributes is 'integer'. This
should be the default, but may not be, so double check. Since the 2nd_Heart_Attack
attribute is not included in the scoring data set, you don't need to worry about changing it
as you did in step 1. Complete the import process, drag and drop the scoring data set into
your main process and rename this data set's Retrieve operator to be Scoring. Your model
should now appear similar to Figure 9-2.
Search WWH ::




Custom Search