In RNG (Relative Neighbourhood Graph) two points, xi
and xj, are neighbours if and only if there is
no other point from set laying in a lune between xi,
xj which is defined as the disjoint intersection
between two hyperspheres centered at xi and xj
and whose radius are equal to the distance between them.
Algorithmically, the RNG condensing scheme can be written as follows:
- Construct the proximity graph corresponding to the original Training Set,
say X.
- Visit each node of the proximity graph and mark the visited node if all
its graph neighbours are not from the same class as the node visited.
- Discard all prototypes in X corresponding to nodes in the proximity
graph that are not marked.
How to use this applet?
- The top panel is Modes panel, the right panel is Controls
panel and the central panel is Drawing panel.
- To select the number of classes (label No classes) in the controls
panel for the training set.
- To do click over any radiobutton that identify a class (labels 1, 2,
..., 12) in the controls panel.
- To do click over the drawing panel to insert prototypes in the training
set (of the class selected in the step 4). These prototypes will have 2
characteristics whose values will remain defined for the axes x and
y.
- To select el radiobutton with label "2. Condensing" in
the modes panel to changing to the condening mode. Then you can see the
resultant set of the condensing.
- The radiobutton with label Inspection in the controls panel allows
to know the coordinates of the next prototype (o sample) to the cursor mouse.
- The radiobutton with label Remove (only in design mode) in the
controls panel allows delete the next prototype (o sample) to the cursor
mouse.
- The button Clear (only in design mode) in the controls panel allows
delete all the training set.