Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
"Apply Threshold" operator isn't reading data from my "confidence" attributes
I have two attributes: "Data" with binomial values "Y" and "N", and "Predicted" with real values between 0 and 1. I want to apply a threshold to the "Predicted" attribute to convert it into binomial values, then test its accuracy against the "Data" attribute.
to use the operator "Apply Threshold", I had to make two real confidence attributes, "confidence(Y)" and "confidence(N)" (values set to "Predicted" and 1  "Predicted") with roles by the same names, and a binomial "pred" attribute with role "prediction" (values initially copied from "Data").
however, when I run the process, it replaces each value of "pred" to "N", regardless of whether "confidence(positive)" was greater than the threshold. that suggests to me that "Apply Threshold" is failing to read the "confidence(positive)" attribute, but I don't know why or how to fix it.
to use the operator "Apply Threshold", I had to make two real confidence attributes, "confidence(Y)" and "confidence(N)" (values set to "Predicted" and 1  "Predicted") with roles by the same names, and a binomial "pred" attribute with role "prediction" (values initially copied from "Data").
however, when I run the process, it replaces each value of "pred" to "N", regardless of whether "confidence(positive)" was greater than the threshold. that suggests to me that "Apply Threshold" is failing to read the "confidence(positive)" attribute, but I don't know why or how to fix it.
<?xml version="1.0" encoding="UTF8"?><process version="9.6.000"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="process" compatibility="9.6.000" expanded="true" name="Process"> <parameter key="logverbosity" value="init"/> <parameter key="random_seed" value="2001"/> <parameter key="send_mail" value="never"/> <parameter key="notification_email" value=""/> <parameter key="process_duration_for_mail" value="30"/> <parameter key="encoding" value="SYSTEM"/> <process expanded="true"> <operator activated="true" class="create_threshold" compatibility="9.6.000" expanded="true" height="68" name="Create Threshold" width="90" x="581" y="340"> <parameter key="threshold" value="0.5"/> <parameter key="first_class" value="N"/> <parameter key="second_class" value="Y"/> </operator> <operator activated="true" class="utility:create_exampleset" compatibility="9.6.000" expanded="true" height="68" name="Create ExampleSet" width="90" x="45" y="238"> <parameter key="generator_type" value="comma separated text"/> <parameter key="number_of_examples" value="100"/> <parameter key="use_stepsize" value="false"/> <list key="function_descriptions"/> <parameter key="add_id_attribute" value="false"/> <list key="numeric_series_configuration"/> <list key="date_series_configuration"/> <list key="date_series_configuration (interval)"/> <parameter key="date_format" value="yyyyMMdd HH:mm:ss"/> <parameter key="time_zone" value="SYSTEM"/> <parameter key="input_csv_text" value="Data,Predicted (Model) Y,0.225135637 N,0.015354609 N,0.0001 Y,0.417204888 N,0.0001 Y,0.825845697 Y,0.566671094 N,0.361344126 Y,0.138533613 N,0.0001 N,0.0001 N,0.10015621 N,0.519371562 Y,0.687709876 Y,0.488898237 Y,0.471409091 N,0.118468641 Y,0.373571663 N,0.0001 N,0.078786849 N,0.067795272 Y,0.421387476 Y,0.83791151 N,0.0001 Y,0.457122298 N,0.405682588 Y,0.580764825 Y,0.218196512 Y,0.655224335 Y,0.855784984 Y,0.50579238 Y,0.084138364 N,0.0001 Y,0.821532224 Y,0.678781002 Y,0.926816559 N,0.50659274 N,0.164581177 Y,0.328660268 Y,0.288377542 N,0.059794767 Y,0.62206104 N,0.064220637 Y,0.791833862 Y,0.207360705 Y,0.34374656 Y,0.225577433 Y,0.75455163 Y,0.506957704 N,0.0001 N,0.058930078 Y,0.749783305 N,0.03936428 Y,0.850028134 N,0.172089154 N,0.066416753 Y,0.567490629 N,0.057332485 Y,0.761940543 N,0.125667186 Y,0.678991758 N,0.228706155 Y,0.68499118 N,0.09513121 Y,0.351269244 Y,0.570312751 N,0.0001 Y,0.138407109 N,0.439762099 N,0.200565587 N,0.0001 N,0.133003815 Y,0.404646644 Y,0.550891144 Y,0.415110029 Y,0.42737024 Y,0.175065829 N,0.38808125 Y,0.570520642 Y,0.6173936 N,0.0001 N,0.223786655 Y,0.245724872 N,0.147310984 Y,0.656746637 N,0.136984071 Y,0.694440361 N,0.403283901 Y,0.253220092 Y,0.587039158 N,0.096477247 Y,0.77295129 N,0.081595909 Y,0.138402045 Y,0.372460544 N,0.036575703 Y,0.278538797 Y,0.729871568 Y,0.544152042 Y,0.8140683 N,0.108877327 N,0.0001 N,0.0001 N,0.140347197 N,0.0001 N,0.111951146 N,0.273102486 Y,0.746288955 Y,0.280770148 Y,0.441145204 Y,0.194084087 Y,0.300068795 Y,0.881620015 Y,0.44164248 N,0.0001 N,0.227901755 N,0.2157731 Y,0.652973156 N,0.361191701 N,0.0001 Y,0.544357267 N,0.216806743 Y,0.663144573 N,0.390221372 N,0.0001 N,0.017205352 N,0.046550353 Y,0.497414924 Y,0.375995967 N,0.211114841 N,0.0001 Y,0.338798002 Y,0.758031735 N,0.364765878 N,0.172331655 Y,0.490027205 N,0.384078322 Y,0.149516671 N,0.008708927 Y,0.224359365 Y,0.674530153 Y,0.473461694 Y,0.232653724 N,0.171596763 Y,0.661383153 Y,0.476280739 N,0.188372312 Y,0.660643742 Y,0.560021217 Y,0.498866655 N,0.417782676 N,0.0001 Y,0.396102307 Y,0.392494 N,0.067356851 Y,0.506465866 Y,0.741886036 Y,0.493834563 Y,0.622761886 Y,0.778629673 N,0.376177326 N,0.0001 Y,0.094023964 Y,0.411875357 N,0.0001 Y,0.656660618 Y,0.358468475 N,0.150609275 N,0.0001 Y,0.614080059 N,0.0001 N,0.0001 N,0.0001 N,0.0001 N,0.107406666 Y,0.236991851 Y,0.569899753 Y,0.465197292 N,0.293648623 N,0.314567095 N,0.0879467 Y,0.454703781 Y,0.444991643 N,0.050408819 Y,0.437551851 N,0.130305697 Y,0.336272424 Y,0.592396667 Y,0.138354142 N,0.0001 Y,0.834161136 N,0.023170873 Y,0.323113794 N,0.211781092 N,0.444532586 Y,0.443579097 N,0.0001 N,0.139058433 N,0.0001 N,0.0001 Y,0.38499674 N,0.0001 N,0.0001 Y,0.123681638 Y,0.472032978 N,0.525912484 N,0.0001 Y,0.396940427 N,0.26437863 Y,0.016477121 N,0.0001 N,0.082716598 N,0.0001 Y,0.783494732 N,0.109288479 N,0.157626045 N,0.236647676 Y,0.740077106 N,0.0001 N,0.0001 N,0.206587293 N,0.0001 N,0.0001 Y,0.577468692 Y,0.421772481 Y,0.762127968 N,0.0001 Y,0.530366393 N,0.24857274 N,0.435365668 N,0.0001 Y,0.506477522 Y,0.191485506 Y,0.804013908 N,0.0001 N,0.096306717 Y,0.767580687 Y,0.425041496 Y,0.652461621 Y,0.589906399 N,0.0001 Y,0.643446801 N,0.259075579 N,0.0001 Y,0.673050019 Y,0.082421867 N,0.099447465 Y,0.579345273 N,0.0001 N,0.057514014 Y,0.461871654 Y,0.689637808 N,0.0001 Y,0.406664727 N,0.0001 N,0.569201064 N,0.228117263 Y,0.458958547 N,0.282189415 Y,0.715746041 Y,0.369831765 Y,0.311177796 N,0.0001 Y,0.437475655 N,0.0001 N,0.0001 Y,0.906274537 N,0.0001 N,0.133111991 Y,0.669950473 Y,0.519887446 N,0.0001 N,0.0001 N,0.117140248 Y,0.712497054 Y,0.893230805 Y,0.494572867 Y,0.299682746 N,0.0001 N,0.0001 Y,0.499195639 Y,0.615206839 N,0.0001 Y,0.136910848 N,0.014205447 Y,0.529345336 N,0.0001 Y,0.251291365 N,0.0001 Y,0.55477882 N,0.0001 Y,0.426870088 N,0.0001 Y,0.731543209 N,0.0001 Y,0.374157588 Y,0.528718106 N,0.0001 Y,0.56013638 N,0.072086761 Y,0.14616557 Y,0.620443499 N,0.16173902 Y,0.863615019 Y,0.575539093 N,0.0001 Y,0.369297454 Y,0.306617238 Y,0.487022496 N,0.103230158 Y,0.421359953 N,0.0001 Y,0.466354069 N,0.0001 Y,0.343187848 Y,0.289559068 N,0.2598892 N,0.139309321 N,0.0001 N,0.0001 Y,0.756972227 Y,0.120890758 N,0.197729503 N,0.003897131 Y,0.416436328 N,0.012402934 N,0.0001 Y,0.715699273 Y,0.675610616 Y,0.76506855 N,0.0001 Y,0.740078389 Y,0.841420838 Y,0.946896945 N,0.321274399 N,0.0001 N,0.27794159 Y,0.627639721 N,0.0001 N,0.249467153 N,0.547360596 Y,0.247236577 N,0.133425249 N,0.370176607 N,0.0001 Y,0.328332491 N,0.256813811 N,0.0001 Y,0.290020592 N,0.0001 N,0.167306727 Y,0.461690135 N,0.0001 N,0.013979646 Y,0.38813855 N,0.0001 N,0.310334236 N,0.079071151 Y,0.303275331 N,0.213885215 Y,0.393860182 Y,0.756254078 N,0.431842777 N,0.0001 Y,0.654117607 N,0.0001 Y,0.672115813 N,0.0001 N,0.0001 Y,0.545970153 Y,0.21624029 Y,0.483109475 Y,0.650828347 Y,0.569211719 N,0.0001 N,0.049746375 Y,0.355987251 N,0.0001 Y,0.299716127 Y,0.433379057 N,0.237669631 Y,0.537777033 Y,0.414516654 Y,0.800943762 N,0.296561107 Y,0.307934951 Y,0.64754962 N,0.103993581 N,0.019950852 Y,0.564411487 N,0.226002456 N,0.134567234 N,0.116892748 N,0.087493619 N,0.0001 N,0.0001 Y,0.481522363 Y,0.197206406 N,0.0001 N,0.0001 Y,0.357638592 N,0.339037244 N,0.003120399 Y,0.947301575 N,0.0001 Y,0.784902692 N,0.044356782 N,0.0001 N,0.0001 N,0.0001 N,0.374658095 N,0.012133725 N,0.2948613 N,0.251805187 Y,0.645569376 N,0.0001 N,0.0001 Y,0.751735992 Y,0.853200073 N,0.0001 Y,0.610057866 Y,0.205791168 Y,0.410984321 N,0.0001 Y,0.240038325 N,0.038818104 Y,0.232435184 N,0.102906186 N,0.0001 Y,0.569323556 N,0.037841539 Y,0.414147987 N,0.0001 Y,0.236093926 N,0.0001 Y,0.236813976 Y,0.514436048 N,0.0001 N,0.553110218 N,0.209966555 N,0.310611491 N,0.152955599 N,0.0001 N,0.327167013 N,0.0001 Y,0.30384918 Y,0.4794465 Y,0.529956575 N,0.0001 N,0.0001 Y,0.432274926 Y,0.616129736 N,0.0001 N,0.253718861 Y,0.407991737 N,0.033500072 N,0.0001 N,0.0001 N,0.122598716 Y,0.462312565 Y,0.636183238 N,0.15793286 Y,0.525098812 Y,0.664147094 N,0.119070125 N,0.0001 Y,0.392602571 Y,0.614612375 N,0.0001 Y,0.616730864 Y,0.608618551 Y,0.669451092 N,0.0001 N,0.235920685 Y,0.480602525 Y,0.635614226 Y,0.391854656 N,0.0001 Y,0.171784877 N,0.204082013 N,0.0001 Y,0.382701189 N,0.170276811 N,0.46742213 N,0.0001 N,0.219946765 Y,0.440881918 Y,0.449594655 N,0.0001 Y,0.71216168 Y,0.419952203 N,0.0001 N,0.139149903 Y,0.455097673 Y,0.882282519 N,0.0001 N,0.0001 Y,0.505806915 Y,0.902558123 N,0.0001 Y,0.695310694 N,0.0001 N,0.0001 N,0.0001 N,0.0001 Y,0.272600363 N,0.082621314 Y,0.464395827 Y,0.618428958 N,0.534692101 N,0.317367673 N,0.0001 Y,0.442227556 N,0.312675623 N,0.0001 Y,0.48229638 N,0.022550871 N,0.332781055 Y,0.261599822 N,0.171541869 N,0.0001 Y,0.657273788 N,0.349638823 Y,0.728735209 N,0.0001 N,0.105249134 Y,0.293894261 N,0.072273469 Y,0.354570915 Y,0.410064204 Y,0.44739504 N,0.027614561 Y,0.881784332 Y,0.459467358 N,0.304315326 Y,0.922627318 Y,0.488731015 N,0.08180952 N,0.0001 Y,0.431488904 N,0.0001 Y,0.322131287 N,0.0001 Y,0.458514891 N,0.303006734 Y,0.267055728 Y,0.451880527 N,0.0001 Y,0.476867183 N,0.338357589 Y,0.49317765 N,0.0001 N,0.137388967 N,0.0001 N,0.419280027 N,0.0001 N,0.0001 Y,0.365977923 Y,0.683814368 N,0.104229766 Y,0.266574586 N,0.0001 Y,0.473696875 N,0.0001 Y,0.845870623 Y,0.485531138 N,0.029826583 N,0.222998412 Y,0.323085626 Y,0.143263659 N,0.065829181 N,0.509900073 N,0.218699182 Y,0.128101281 Y,0.66981003 Y,0.406257409 Y,0.588944898 N,0.0001 N,0.0001 Y,0.399266965 N,0.0001 Y,0.548846566 Y,0.432092622 N,0.035504595 Y,0.10334879 Y,0.354320931 N,0.081648827 Y,0.278592341 Y,0.159863424 Y,0.335276015 Y,0.317995478 Y,0.224255567 N,0.0001 N,0.280176324 N,0.220114854 N,0.0001 Y,0.50654723 N,0.186054882 Y,0.736719984 Y,0.420956699 Y,0.150595767 Y,0.622305524 Y,0.551062046 Y,0.677161834 N,0.41150115 N,0.007920189 Y,0.734031477 Y,0.562884889 Y,0.471643698 N,0.0001 N,0.013878532 N,0.097310849 N,0.193405543 Y,0.857663779 N,0.293717137 N,0.087031781 N,0.157869878 Y,0.59291082 Y,0.25365872 Y,0.698096232 N,0.114082837 N,0.357157697 N,0.0001 Y,0.822196311 Y,0.253924476 N,0.087396663 N,0.21784532 Y,0.416080847 Y,0.295490847 N,0.057390894 Y,0.600339658 N,0.030259019 N,0.0001 Y,0.707060218 Y,0.397500996 Y,0.504801327 N,0.024271651 N,0.0001 N,0.0001 N,0.209848201 N,0.0001 N,0.0001 N,0.0001 N,0.04784182 N,0.278783048 Y,0.476560849 N,0.249272095 N,0.046025145 Y,0.786108381 N,0.058610238 Y,0.485684526 N,0.0001 N,0.0001 N,0.080430574 Y,0.344370136 Y,0.658694756 N,0.0001 N,0.0001 Y,0.439160045 N,0.0001 Y,0.522014866 Y,0.859105664 N,0.0001 N,0.437496173 N,0.0001 N,0.0001 N,0.526884013 N,0.0001 Y,0.214610903 N,0.0001 N,0.016401764 N,0.0001 N,0.0001 N,0.241970477 Y,0.695495837 N,0.317032673 Y,0.607299397 Y,0.548803481 Y,0.33344099 Y,0.559900239 N,0.208394223 Y,0.374677024 Y,0.691080187 N,0.320086813 Y,0.711199976 N,0.194466238 N,0.233666338 Y,0.700126118 Y,0.692227304 N,0.0001 N,0.331453804 N,0.046248195 N,0.013222694 Y,0.306499687 N,0.149594568 N,0.0001 N,0.053380806 N,0.0001 N,0.0001 N,0.023008113 N,0.0001 N,0.0001 N,0.229674723 N,0.0001 N,0.0001 Y,0.321182671 Y,0.428749642 Y,0.566150251 N,0.0001 Y,0.511773068 Y,0.596826633 Y,0.823276811 N,0.524878327 Y,0.386924324 Y,0.747610463 N,0.190618533 Y,0.460864335 Y,0.785706276 Y,0.459875204 N,0.0001 N,0.254958384 Y,0.185463342 N,0.035334286 N,0.075808253 Y,0.854482472 Y,0.914284326 Y,0.212628439 Y,0.265490188 N,0.0001 N,0.0001 N,0.0001 N,0.295387804 N,0.405498812 N,0.0001 N,0.0001 N,0.0001 N,0.0001 Y,0.611449556 N,0.526792533 N,0.0001 N,0.133207602 N,0.0001 N,0.0001 Y,0.300581865 Y,0.158833098 N,0.005364351 Y,0.62159008 Y,0.453849922 N,0.187174104 Y,0.866807928 Y,0.806227147 N,0.0001 Y,0.362711419 Y,0.43583843 N,0.0001 Y,0.602603798 Y,0.663746571 N,0.199855035 Y,0.722291116 Y,0.406066934 N,0.331255266 N,0.104007554 Y,0.765300649 Y,0.209248341 N,0.0001 N,0.121066031 N,0.03341763 N,0.0001 Y,0.610553932 N,0.0001 N,0.052303161 N,0.077363827 Y,0.405943411 N,0.065796284 N,0.162271252 N,0.169449634 N,0.0001 Y,0.779449556 Y,0.19624205 N,0.294631095 N,0.291751597 N,0.0001 N,0.0001 N,0.013072464 Y,0.517111032 N,0.0001 Y,0.365286909 Y,0.46479032 Y,0.230558948 Y,0.417642527 Y,0.449738427 Y,0.264059427 Y,0.695118223 N,0.090090211 N,0.154512044 N,0.039469784 N,0.0001 N,0.0001 Y,0.735186954 Y,0.256441841 Y,0.106400168 N,0.165173342 Y,0.53432136 Y,0.642590241 Y,0.493018827 Y,0.70583896 N,0.0001 N,0.202781829 Y,0.971718293 N,0.0001 N,0.0001 Y,0.418778437 N,0.0001 N,0.169709239 N,0.0001 Y,0.769994131 Y,0.5753103 N,0.232768014 Y,0.133646896 Y,0.553130877 Y,0.279022074 Y,0.751445026 Y,0.421113498 N,0.0001 Y,0.487873541 N,0.03316964 Y,0.451994726 N,0.158025789 Y,0.454016039 N,0.0001 N,0.0001 Y,0.472813314 Y,0.527048191 Y,0.947359869 N,0.0001 Y,0.729952878 N,0.0001 Y,0.712574396 N,0.0001 N,0.250259731 N,0.0001 N,0.174528678 N,0.0001 Y,0.318162899 Y,0.197255877 Y,0.439948842 N,0.0001 Y,0.151991212 Y,0.422560972 Y,0.403602741 Y,0.851536446 N,0.0001 Y,0.312774584 Y,0.500420116 N,0.24236253 Y,0.766122181 Y,0.683882082 N,0.0001 Y,0.33215044 N,0.135521792 Y,0.729956278 N,0.375581592 Y,0.224688697 Y,0.12008483 Y,0.612192195 Y,0.726500396 Y,0.554846858 Y,0.138862007 Y,0.498733144 Y,0.133926581 N,0.019771907 N,0.0001 N,0.0001 Y,0.418526176 N,0.0001 Y,0.693800082 Y,0.094795326 Y,0.925085811 N,0.15195066 Y,0.788710019 N,0.0001 N,0.0001 N,0.297479909 Y,0.290528007 Y,0.601438588 N,0.0001 Y,0.353469645 Y,0.408118578 Y,0.538191918 Y,0.253631898 N,0.0001 Y,0.526085645 N,0.0001 Y,0.460109653 Y,0.775072288 N,0.0001 Y,0.489153238 N,0.0001 N,0.0001 N,0.034608624 Y,0.411143627 Y,0.403309021 Y,0.690479379 Y,0.58645295 Y,0.703471435 N,0.240645419 N,0.317348965 N,0.0001 N,0.0001 Y,0.479985015 N,0.051663453 N,0.151098679 Y,0.400885126 Y,0.669478979 N,0.0001 N,0.084509219 N,0.104969007 N,0.202747595 N,0.0001 Y,0.248550676 Y,0.736360718 Y,0.507362049 Y,0.45185447 N,0.170658129 N,0.0001 Y,0.492524913 Y,0.863828983 Y,0.505563511 Y,0.855626349 Y,0.214503677 Y,0.667043014 N,0.04338791 N,0.268321785 N,0.163068649 N,0.032860214 Y,0.432603468 N,0.050831568 Y,0.282183637 Y,0.497255402 Y,0.507714476 N,0.048046271 N,0.302599739 Y,0.552843342 N,0.0001 N,0.0001 N,0.045763161 N,0.0001 Y,0.35923354 Y,0.275079272 Y,0.490030294 N,0.093214431 Y,0.33982672 Y,0.228286029 N,0.173078966 N,0.24842934 N,0.0001 Y,0.215257771 N,0.10263881 Y,0.609961692 Y,0.153339016 N,0.040604182 N,0.0001 Y,0.420378131 N,0.035050649 N,0.0001 Y,0.956775757 N,0.312246201 N,0.0001 Y,0.619621516 N,0.062474506 Y,0.83682199 N,0.0001 N,0.0001 N,0.087984095 Y,0.513109824 Y,0.168519626 N,0.0001 N,0.0125382 Y,0.623915238 N,0.299362197 Y,0.700795017 Y,0.639515816 N,0.0001 Y,0.423247208 Y,0.314171344 N,0.0001 Y,0.675042884 Y,0.858816065 N,0.0001 N,0.262590264 N,0.107755031 Y,0.642963514 Y,0.684925359 Y,0.439486907 Y,0.474113532 Y,0.248236629 Y,0.573986919 N,0.015263223 Y,0.65455098 Y,0.699771428"/> <parameter key="column_separator" value=","/> <parameter key="parse_all_as_nominal" value="false"/> <parameter key="decimal_point_character" value="."/> <parameter key="trim_attribute_names" value="true"/> </operator> <operator activated="true" class="generate_attributes" compatibility="9.6.000" expanded="true" height="82" name="Generate Attributes" width="90" x="179" y="238"> <list key="function_descriptions"> <parameter key="pred" value="Data"/> <parameter key="confidence(N)" value="1[Predicted (Model)]"/> <parameter key="confidence(Y)" value="[Predicted (Model)]"/> </list> <parameter key="keep_all" value="true"/> </operator> <operator activated="true" class="nominal_to_binominal" compatibility="9.6.000" expanded="true" height="103" name="Nominal to Binominal" width="90" x="313" y="238"> <parameter key="return_preprocessing_model" value="false"/> <parameter key="create_view" value="false"/> <parameter key="attribute_filter_type" value="single"/> <parameter key="attribute" value="pred"/> <parameter key="attributes" value=""/> <parameter key="use_except_expression" value="false"/> <parameter key="value_type" value="nominal"/> <parameter key="use_value_type_exception" value="false"/> <parameter key="except_value_type" value="file_path"/> <parameter key="block_type" value="single_value"/> <parameter key="use_block_type_exception" value="false"/> <parameter key="except_block_type" value="single_value"/> <parameter key="invert_selection" value="false"/> <parameter key="include_special_attributes" value="false"/> <parameter key="transform_binominal" value="false"/> <parameter key="use_underscore_in_name" value="false"/> </operator> <operator activated="true" class="set_role" compatibility="9.6.000" expanded="true" height="82" name="Set Role" width="90" x="447" y="238"> <parameter key="attribute_name" value="Data"/> <parameter key="target_role" value="label"/> <list key="set_additional_roles"> <parameter key="pred" value="prediction"/> <parameter key="confidence(N)" value="confidence(N)"/> <parameter key="confidence(Y)" value="confidence(Y)"/> </list> </operator> <operator activated="true" class="select_attributes" compatibility="9.6.000" expanded="true" height="82" name="Select Attributes" width="90" x="581" y="238"> <parameter key="attribute_filter_type" value="single"/> <parameter key="attribute" value="Predicted (Model)"/> <parameter key="attributes" value=""/> <parameter key="use_except_expression" value="false"/> <parameter key="value_type" value="attribute_value"/> <parameter key="use_value_type_exception" value="false"/> <parameter key="except_value_type" value="time"/> <parameter key="block_type" value="attribute_block"/> <parameter key="use_block_type_exception" value="false"/> <parameter key="except_block_type" value="value_matrix_row_start"/> <parameter key="invert_selection" value="true"/> <parameter key="include_special_attributes" value="false"/> </operator> <operator activated="true" breakpoints="before" class="apply_threshold" compatibility="9.6.000" expanded="true" height="82" name="Apply Threshold" width="90" x="715" y="238"/> <connect from_op="Create Threshold" from_port="output" to_op="Apply Threshold" to_port="threshold"/> <connect from_op="Create ExampleSet" from_port="output" to_op="Generate Attributes" to_port="example set input"/> <connect from_op="Generate Attributes" from_port="example set output" to_op="Nominal to Binominal" to_port="example set input"/> <connect from_op="Nominal to Binominal" from_port="example set output" to_op="Set Role" to_port="example set input"/> <connect from_op="Set Role" from_port="example set output" to_op="Select Attributes" to_port="example set input"/> <connect from_op="Select Attributes" from_port="example set output" to_op="Apply Threshold" to_port="example set"/> <connect from_op="Apply Threshold" from_port="example set" to_port="result 1"/> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> <portSpacing port="sink_result 2" spacing="0"/> </process> </operator> </process>
<br>
Tagged:
1
Best Answer

BalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 UnicornHi @tors,
I looked at a different process and how it creates the confidence attributes. The role is named slightly differently, like this:
confidence_value.
So changing your process to assign the roles confidence_N and confidence_Y solves the problem. I was able to enter different thresholds in Create Threshold and got the expected result.
Regards,
Balázs3
Answers
if you name your attributes and roles correctly, it will work.
The confidences have to be confidence(N) and confidence(Y) in this situation, as your prediction contains Y or N.
It was hard to reproduce your process without the incoming data. For test data in the Community, it's easy to use Create ExampleSet with generator type = comma separated text and just enter some example data.
Regards,
Balázs