com.rapidminer.operator.learner.local
Class NearestNeighborNeighborhood

java.lang.Object
  extended by com.rapidminer.operator.learner.local.NearestNeighborNeighborhood
All Implemented Interfaces:
Neighborhood, java.io.Serializable

public class NearestNeighborNeighborhood
extends java.lang.Object
implements Neighborhood

Author:
Sebastian Land
See Also:
Serialized Form

Field Summary
static java.lang.String PARAMETER_K
           
 
Constructor Summary
NearestNeighborNeighborhood()
           
 
Method Summary
<T extends java.io.Serializable>
java.util.Collection<Tupel<java.lang.Double,T>>
getNeighbourhood(GeometricDataCollection<T> samples, double[] probePoint)
           
 java.util.List<ParameterType> getParameterTypes(ParameterHandler handler)
           
 void init(ParameterHandler handler)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PARAMETER_K

public static final java.lang.String PARAMETER_K
See Also:
Constant Field Values
Constructor Detail

NearestNeighborNeighborhood

public NearestNeighborNeighborhood()
Method Detail

getNeighbourhood

public <T extends java.io.Serializable> java.util.Collection<Tupel<java.lang.Double,T>> getNeighbourhood(GeometricDataCollection<T> samples,
                                                                                                         double[] probePoint)
Specified by:
getNeighbourhood in interface Neighborhood

getParameterTypes

public java.util.List<ParameterType> getParameterTypes(ParameterHandler handler)
Specified by:
getParameterTypes in interface Neighborhood

init

public void init(ParameterHandler handler)
          throws UndefinedParameterError
Specified by:
init in interface Neighborhood
Throws:
UndefinedParameterError

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 by Rapid-I