|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.yosokumo.core.Predictor
public class Predictor
A column of values, an independent variable. Other terminology that is
sometimes used: An attribute or an input. These are the primary
characteristics of a Predictor
:
Nested Class Summary | |
---|---|
static class |
Predictor.Level
Indicates the level of measurement for the feature. |
static class |
Predictor.Status
Provides a logical delete facility. |
static class |
Predictor.Type
Describes the quality of the predictor and determines the statistical operations that can be performed on the feature. |
Field Summary | |
---|---|
private Predictor.Level |
level
|
private long |
name
|
private Predictor.Status |
status
|
private Predictor.Type |
type
|
Constructor Summary | |
---|---|
Predictor(long name)
Initializes a newly created Predictor object with default
attributes. |
|
Predictor(long name,
Predictor.Status status,
Predictor.Type type,
Predictor.Level level)
Initializes a newly created Predictor object with attributes
specified by the input parameters. |
Method Summary | |
---|---|
Predictor.Level |
getLevel()
Return the predictor level. |
long |
getPredictorName()
Return the predictor name. |
Predictor.Status |
getStatus()
Return the predictor status. |
Predictor.Type |
getType()
Return the predictor type. |
void |
setLevel(Predictor.Level L)
Set the predictor level. |
void |
setPredictorName(long name)
Set the predictor name. |
void |
setStatus(Predictor.Status s)
Set the predictor status. |
void |
setType(Predictor.Type t)
Set the predictor type. |
java.lang.String |
toString()
Return a string representation of this Predictor . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private long name
private Predictor.Status status
private Predictor.Type type
private Predictor.Level level
Constructor Detail |
---|
public Predictor(long name)
Predictor
object with default
attributes.
name
- the name of the predictor.public Predictor(long name, Predictor.Status status, Predictor.Type type, Predictor.Level level)
Predictor
object with attributes
specified by the input parameters.
name
- the name of the predictor.status
- the status of the predictor.type
- the type of the predictor.level
- the level of the predictor.Method Detail |
---|
public void setPredictorName(long name)
name
- the name to assign to this predictor. This is the
unique identification of the predictor. It must be positive.public long getPredictorName()
public void setStatus(Predictor.Status s)
s
- the status to assign to this predictor.public Predictor.Status getStatus()
public void setType(Predictor.Type t)
t
- the type to assign to this predictor.public Predictor.Type getType()
public void setLevel(Predictor.Level L)
L
- the level to assign to this predictor.public Predictor.Level getLevel()
public java.lang.String toString()
Predictor
.
toString
in class java.lang.Object
Predictor
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |