|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.clusterers.assigners.MPCKMeansAssigner
weka.clusterers.assigners.RMNAssigner
Field Summary | |
protected double |
m_constraintWeight
scaling factor for constraint weights |
double |
m_epsilon
small value to replace 0 in some places, to avoid numerical underflow |
protected double |
m_expScalingFactor
scaling factor for exponent |
protected boolean |
m_singlePass
Inference can be single-pass approximate or multi-pass approximate |
Fields inherited from class weka.clusterers.assigners.MPCKMeansAssigner |
m_clusterer |
Constructor Summary | |
RMNAssigner()
|
|
RMNAssigner(MPCKMeans clusterer)
|
Method Summary | |
int |
assign()
The main method |
double |
getConstraintWeight()
|
double |
getExpScalingFactor()
|
java.lang.String[] |
getOptions()
Gets the current option settings for the OptionHandler. |
boolean |
getSinglePass()
|
boolean |
isSequential()
This is a sequential assignment method |
java.util.Enumeration |
listOptions()
Returns an enumeration of all the available options.. |
void |
setConstraintWeight(double w)
Get/Set m_constraintWeight |
void |
setExpScalingFactor(double s)
Get/Set m_expScalingFactor |
void |
setOptions(java.lang.String[] options)
Sets the OptionHandler's options using the given list. |
void |
setSinglePass(boolean b)
Get/Set m_singlePass |
Methods inherited from class weka.clusterers.assigners.MPCKMeansAssigner |
setClusterer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean m_singlePass
protected double m_expScalingFactor
protected double m_constraintWeight
public double m_epsilon
Constructor Detail |
public RMNAssigner()
public RMNAssigner(MPCKMeans clusterer)
Method Detail |
public boolean isSequential()
isSequential
in class MPCKMeansAssigner
public int assign() throws java.lang.Exception
assign
in class MPCKMeansAssigner
java.lang.Exception
public void setSinglePass(boolean b)
b
- truth valuepublic boolean getSinglePass()
public void setExpScalingFactor(double s)
s
- scaling factorpublic double getExpScalingFactor()
public void setConstraintWeight(double w)
w
- weightpublic double getConstraintWeight()
public void setOptions(java.lang.String[] options) throws java.lang.Exception
OptionHandler
options
- the list of options as an array of strings
java.lang.Exception
- if an option is not supportedpublic java.util.Enumeration listOptions()
OptionHandler
public java.lang.String[] getOptions()
OptionHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |