Examples of PathParameter


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

  }

  @Override
  public void createParameters(String prefix, Configuration jobConf) {
    parameters = Lists.newArrayList();
    inverseCovarianceFile = new PathParameter(prefix, "inverseCovarianceFile", jobConf, null,
            "Path on DFS to a file containing the inverse covariance matrix.");
    parameters.add(inverseCovarianceFile);

    matrixClass = new ClassParameter(prefix, "maxtrixClass", jobConf, DenseMatrix.class,
            "Class<Matix> file specified in parameter inverseCovarianceFile has been serialized with.");
    parameters.add(matrixClass);

    meanVectorFile = new PathParameter(prefix, "meanVectorFile", jobConf, null,
            "Path on DFS to a file containing the mean Vector.");
    parameters.add(meanVectorFile);

    vectorClass = new ClassParameter(prefix, "vectorClass", jobConf, DenseVector.class,
            "Class file specified in parameter meanVectorFile has been serialized with.");
View Full Code Here

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

Examples of org.cdma.gui.databrowser.PathParameter

                    dataBrowserFrame.setVisible(true);

                    String textToTransfert = dataStorageBean.getDataRecorderBean().getDataRecorderDetailsBean()
                            .getPathToCurrentFile();
                    if (textToTransfert != null) {
                        LoadParameter param = new PathParameter(textToTransfert);
                        dataBrowser.loadSource(param);
                    }
                } else {
                    // deiconify the frame and send it back to front
                    dataBrowserFrame.setExtendedState(Frame.NORMAL);
View Full Code Here

Examples of org.cdma.gui.databrowser.PathParameter

                    List<String> textToTransferts = dataStorageBean.getDataRecorderBean().getDataRecorderDetailsBean()
                    .getPathToCurrentFiles();
                    if ((textToTransferts != null) && !textToTransferts.isEmpty()) {
                        List<LoadParameter> paramList = new ArrayList<LoadParameter>();
                        for (String textToTransfert : textToTransferts) {
                            LoadParameter param = new PathParameter(textToTransfert);
                            paramList.add(param);
                        }
                        dataBrowser.loadSources(paramList);
                    }
                } else {
View Full Code Here

Examples of org.cdma.gui.databrowser.PathParameter

                    List<String> textToTransferts = dataStorageBean.getDataRecorderBean().getDataRecorderDetailsBean()
                    .getPathToCurrentFiles();
                    if ((textToTransferts != null) && !textToTransferts.isEmpty()) {
                        List<LoadParameter> paramList = new ArrayList<LoadParameter>();
                        for (String textToTransfert : textToTransferts) {
                            LoadParameter param = new PathParameter(textToTransfert);
                            paramList.add(param);
                        }
                        dataBrowser.loadSources(paramList);
                    }
                } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.