Ask Your Question

Revision history [back]

You can not delete or edit any pre-existing features & responses in the CvKnearest.In the first append new trainData & response to CvKnearest and train CvKnearst by update flag then create a list for maintain deleted response.When use find_nearest for compute results .each results item is in the deleted list not consider in the computation.

You can not delete or edit any pre-existing features & responses in the CvKnearest.In the first append train CvKnearst with new trainData & response to CvKnearest and train CvKnearst by & update flag then create a list for maintain storage deleted response.When you use the find_nearest for to compute results(neighbors index).For each results .each results item index is in the deleted list there will not consider be considered in the computation.calculations.