Package org.apache.mahout.utils.parameters

Examples of org.apache.mahout.utils.parameters.PathParameter


  protected Vector weights;

  @Override
  public void createParameters(String prefix, JobConf jobConf) {
    parameters = new ArrayList<Parameter<?>>();
    weightsFile = new PathParameter(prefix, "weightsFile", jobConf, null, "Path on DFS to a file containing the weights.");
    parameters.add(weightsFile);
    vectorClass = new ClassParameter(prefix, "vectorClass", jobConf, DenseVector.class, "Class<Vector> file specified in parameter weightsFile has been serialized with.");
    parameters.add(vectorClass);
  }
View Full Code Here

TOP

Related Classes of org.apache.mahout.utils.parameters.PathParameter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.