0
$\begingroup$

The input data in the model includes column ControlNo.

enter image description here

But I don't want this column being part of learning process so I'm using Select Columns in Dataset to exclude ControlNo column.

But as a output I want those columns:

ControlNo, Score Label, Score Probability

So basically I need NOT to include column ControlNo into learning process, but have it as output along with Score Label column.

How can I do that?

enter image description here

$\endgroup$
1
  • $\begingroup$ Searh for dropping a column $\endgroup$ – Aditya Feb 28 '18 at 3:49
1
$\begingroup$

You have two options to do this, one less elegant than the other:

  1. You can drop whatever column you don't want to use and add them together after getting the scores. Though you might need to reorder columns etc.

enter image description here

Or...

  1. There is a block called Edit Metadata which can be used to do what you need. Select whatever columns from the column selector you don't want to use and use the option Fields > Clear Feature from the block properties. These columns won't be used in the calculations but will be present when you visualise the Score Model output together with the rest of the columns and the scores. Moreover, columns in that output statistics will be labelled as Feature type if they were used in the calculations. So you straightaway know which columns were actually used in the calculations or not. Block help is quite useful here.

Edit Metadata Block

enter image description here

$\endgroup$
2
  • $\begingroup$ How do you reorder columns in MLS? $\endgroup$ – Mike May 19 '19 at 16:16
  • $\begingroup$ You can use a Select Columns in Dataset block. If you use the option include the column names, there is a tick above that says Allow duplicates and preserve column order in selection that will keep the order of the columns you include. $\endgroup$ – TitoOrt May 20 '19 at 7:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.