public class Forest extends Frequency
| 构造器和说明 |
|---|
Forest(int featureSize,
double shrinkParameter,
Matrix pc,
Map<Integer,Forest> forestMap,
int id,
int minGrain) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cut() |
Matrix |
getConditionMatrix() |
Forest |
getFather() |
Forest |
getForestLeft() |
Forest |
getForestRight() |
double |
getMappingFeature(Matrix feature) |
double |
getMedian() |
Matrix |
getResultMatrix() |
double |
getResultVariance() |
void |
getSonMessage(boolean isPruning,
int myId) |
double[] |
getW() |
boolean |
isNotRemovable() |
boolean |
isRemove() |
void |
pruning() |
void |
setConditionMatrix(Matrix conditionMatrix) |
void |
setFather(Forest father) |
void |
setNotRemovable(boolean notRemovable) |
void |
setRemove(boolean remove) |
void |
setResultMatrix(Matrix resultMatrix) |
void |
setResultVariance(double resultVariance) |
void |
setW(double[] w) |
average, averageByList, dc, dcByAvg, getEDist, getLimit, getPointLength, sd, sdByAvg, sigma, softMax, variance, varianceByAvepublic double getMedian()
public double getResultVariance()
public void setResultVariance(double resultVariance)
public void pruning()
public void getSonMessage(boolean isPruning,
int myId)
public Matrix getConditionMatrix()
public void setConditionMatrix(Matrix conditionMatrix)
public Matrix getResultMatrix()
public void setResultMatrix(Matrix resultMatrix)
public double[] getW()
public void setW(double[] w)
public Forest getForestLeft()
public Forest getForestRight()
public Forest getFather()
public void setFather(Forest father)
public boolean isRemove()
public void setRemove(boolean remove)
public boolean isNotRemovable()
public void setNotRemovable(boolean notRemovable)
Copyright © 2024. All rights reserved.