Examples of relationName()


Examples of weka.core.Instances.relationName()

    }
    result.setClassIndex(result.numAttributes() - 1);
    ThresholdVisualizePanel vmc = new ThresholdVisualizePanel();
    vmc.setROCString(Messages.getInstance().getString("Main_InitGUI_Vmc_SetROCString_Text") +
        Utils.doubleToString(ThresholdCurve.getROCArea(result), 4) + ")");
    vmc.setName(result.relationName());
    PlotData2D tempd = new PlotData2D(result);
    tempd.setPlotName(result.relationName());
    tempd.addInstanceNumberAttribute();
    try {
      vmc.addPlot(tempd);
View Full Code Here

Examples of weka.core.Instances.relationName()

    ThresholdVisualizePanel vmc = new ThresholdVisualizePanel();
    vmc.setROCString(Messages.getInstance().getString("Main_InitGUI_Vmc_SetROCString_Text") +
        Utils.doubleToString(ThresholdCurve.getROCArea(result), 4) + ")");
    vmc.setName(result.relationName());
    PlotData2D tempd = new PlotData2D(result);
    tempd.setPlotName(result.relationName());
    tempd.addInstanceNumberAttribute();
    try {
      vmc.addPlot(tempd);
    }
    catch (Exception e) {
View Full Code Here

Examples of weka.core.Instances.relationName()

  PlotData2D tmp = new PlotData2D(i);
  if (j != 1) {
    tmp.m_useCustomColour = true;
    tmp.m_customColour = Color.red;
  }
  tmp.setPlotName(i.relationName());
  plotList.addElement(tmp);
      }
     
      p2.setPlotList(plotList);
      jf.setVisible(true);
View Full Code Here

Examples of weka.core.Instances.relationName()

      ThresholdVisualizePanel vmc = new ThresholdVisualizePanel();
      vmc.setROCString(Messages.getInstance().getString("ThresholdVisualizePanel_OpenVisibleInstances_Text_Third") +
    Utils.doubleToString(ThresholdCurve.getROCArea(result), 4) + Messages.getInstance().getString("ThresholdVisualizePanel_OpenVisibleInstances_Text_Fourth"));
      if (compute)    
  vmc.setName(
      result.relationName()
      + Messages.getInstance().getString("ThresholdVisualizePanel_Main_Text_Twelveth") + inst.classAttribute().value(valueIndex.getIndex()) + Messages.getInstance().getString("ThresholdVisualizePanel_Main_Text_Thirteenth"));
      else
  vmc.setName(
      result.relationName()
      + Messages.getInstance().getString("ThresholdVisualizePanel_Main_Text_Fourteenth"));
View Full Code Here

Examples of weka.core.Instances.relationName()

  vmc.setName(
      result.relationName()
      + Messages.getInstance().getString("ThresholdVisualizePanel_Main_Text_Twelveth") + inst.classAttribute().value(valueIndex.getIndex()) + Messages.getInstance().getString("ThresholdVisualizePanel_Main_Text_Thirteenth"));
      else
  vmc.setName(
      result.relationName()
      + Messages.getInstance().getString("ThresholdVisualizePanel_Main_Text_Fourteenth"));
      PlotData2D tempd = new PlotData2D(result);
      tempd.setPlotName(result.relationName());
      tempd.addInstanceNumberAttribute();
      vmc.addPlot(tempd);
View Full Code Here

Examples of weka.core.Instances.relationName()

      else
  vmc.setName(
      result.relationName()
      + Messages.getInstance().getString("ThresholdVisualizePanel_Main_Text_Fourteenth"));
      PlotData2D tempd = new PlotData2D(result);
      tempd.setPlotName(result.relationName());
      tempd.addInstanceNumberAttribute();
      vmc.addPlot(tempd);
     
      String plotName = vmc.getName();
      final JFrame jf = new JFrame(Messages.getInstance().getString("ThresholdVisualizePanel_Main_JFrame_Text") + plotName);
View Full Code Here

Examples of weka.core.Instances.relationName()

      inst.setClassIndex(inst.numAttributes() - 1);
   
    // get some data
    props = new Vector();
    props.add(Messages.getInstance().getString("ArffViewerMainPanel_ShowProperties_Filename_Text") + panel.getFilename());
    props.add(Messages.getInstance().getString("ArffViewerMainPanel_ShowProperties_Filename_Text") + inst.relationName());
    props.add(Messages.getInstance().getString("ArffViewerMainPanel_ShowProperties_Instances_Text") + inst.numInstances());
    props.add(Messages.getInstance().getString("ArffViewerMainPanel_ShowProperties_Attributes_Text") + inst.numAttributes());
    props.add(Messages.getInstance().getString("ArffViewerMainPanel_ShowProperties_ClassAttribute_Text") + inst.classAttribute().name());
    props.add(Messages.getInstance().getString("ArffViewerMainPanel_ShowProperties_ClassLabels_Text") + inst.numClasses());
   
View Full Code Here

Examples of weka.core.Instances.relationName()

 
      StringBuffer query = new StringBuffer();
      Instances structure = getInstances();
      query.append("CREATE TABLE ");
      if(m_tabName || m_tableName.equals(""))
        m_tableName = m_DataBaseConnection.maskKeyword(structure.relationName());
      if(m_DataBaseConnection.getUpperCase()){
        m_tableName = m_tableName.toUpperCase();
        m_createInt = m_createInt.toUpperCase();
        m_createDouble = m_createDouble.toUpperCase();
        m_createText = m_createText.toUpperCase();
View Full Code Here

Examples of weka.core.Instances.relationName()

          titleString = titleString.
      substring(titleString.lastIndexOf('.') + 1,
          titleString.length());
          modelString = "=== Associator model ===\n\n" +
      "Scheme:   " +titleString+"\n" +
      "Relation: "  + trainingData.relationName() +
                        "\n\n"
      + modelString;
          titleString = "Model: " + titleString;

          TextEvent nt = new TextEvent(Associator.this,
View Full Code Here

Examples of weka.core.Instances.relationName()

 
  private void prepareStructure() throws Exception {
    logger.debug("IN");
    Instances structure = getInstances();
    if (m_tabName || m_tableName.equals(""))
      m_tableName = structure.relationName();
    if (m_DataBaseConnection.getUpperCase()) {
      m_tableName = m_tableName.toUpperCase();
      m_createInt = m_createInt.toUpperCase();
      m_createDouble = m_createDouble.toUpperCase();
      m_createText = m_createText.toUpperCase();
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.