The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
KNN Classification
Hi,
I run the below code given in the sample XML files (04_NearestNeighbours.XML) for the KNN Classification.
Why are the results not displayed?
Thanks,
Shubha
I run the below code given in the sample XML files (04_NearestNeighbours.XML) for the KNN Classification.
<operator name="Root" class="Process" expanded="yes">But the result I get is a blank KNNClassification model with the contents,
<description text="This learner uses a simple nearest neighbors classifier. This instance based classifiers just uses the other instances closest to the instance at hand in order to determine a prediction."/>
<operator name="ArffExampleSource" class="ArffExampleSource">
<parameter key="data_file" value="../data/iris.arff"/>
<parameter key="label_attribute" value="class"/>
</operator>
<operator name="NearestNeighbors" class="NearestNeighbors">
<parameter key="keep_example_set" value="true"/>
<parameter key="k" value="3"/>
</operator>
</operator>
and an id attribute added into the Exampleset.
KNNClassification
KNNClassification (prediction model for label class)
Why are the results not displayed?
Thanks,
Shubha
0
Answers
I have one single question... Dont we get any 'values' like estimate values or any any distance values in the model? Because i just see the below in the model. Thanks,Shubha
In other words, there really isn't anything to show when the model is created, since all the heavy lifting is done at prediction time.