|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.clustering.topdown.PathDirectory
public final class PathDirectory
Contains list of all internal paths used in top down clustering.
Field Summary | |
---|---|
static String |
BOTTOM_LEVEL_CLUSTER_DIRECTORY
|
static String |
CLUSTERED_POINTS_DIRECTORY
|
static String |
POST_PROCESS_DIRECTORY
|
static String |
TOP_LEVEL_CLUSTER_DIRECTORY
|
Method Summary | |
---|---|
static org.apache.hadoop.fs.Path |
getBottomLevelClusterPath(org.apache.hadoop.fs.Path output,
String clusterId)
Each cluster produced by top level clustering is processed in output/"bottomLevelCluster"/clusterId. |
static org.apache.hadoop.fs.Path |
getClusterOutputClusteredPoints(org.apache.hadoop.fs.Path output)
The top level clustered points before post processing is generated here. |
static org.apache.hadoop.fs.Path |
getClusterPathForClusterId(org.apache.hadoop.fs.Path clusterPostProcessorOutput,
String clusterId)
Each clusters path name is its clusterId. |
static org.apache.hadoop.fs.Path |
getClusterPostProcessorOutputDirectory(org.apache.hadoop.fs.Path outputPathProvidedByUser)
The output of top level clusters is post processed and kept in this path. |
static org.apache.hadoop.fs.Path |
getTopLevelClusterPath(org.apache.hadoop.fs.Path output)
All output of top level clustering is stored in output directory/topLevelCluster. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TOP_LEVEL_CLUSTER_DIRECTORY
public static final String POST_PROCESS_DIRECTORY
public static final String CLUSTERED_POINTS_DIRECTORY
public static final String BOTTOM_LEVEL_CLUSTER_DIRECTORY
Method Detail |
---|
public static org.apache.hadoop.fs.Path getTopLevelClusterPath(org.apache.hadoop.fs.Path output)
output
- the output path of clustering.
public static org.apache.hadoop.fs.Path getClusterPostProcessorOutputDirectory(org.apache.hadoop.fs.Path outputPathProvidedByUser)
outputPathProvidedByUser
- the output path of clustering.
public static org.apache.hadoop.fs.Path getClusterOutputClusteredPoints(org.apache.hadoop.fs.Path output)
output
- the output path of clustering.
public static org.apache.hadoop.fs.Path getBottomLevelClusterPath(org.apache.hadoop.fs.Path output, String clusterId)
output
- clusterId
-
public static org.apache.hadoop.fs.Path getClusterPathForClusterId(org.apache.hadoop.fs.Path clusterPostProcessorOutput, String clusterId)
clusterPostProcessorOutput
- the path of cluster post processor output.clusterId
- the id of the cluster.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |