Package com.greentea.relaxation.jnmf.util.data

Examples of com.greentea.relaxation.jnmf.util.data.ColumnInfo


      int outputsCount = data.getOutputsCount();
      int[] intersectionSteps = rocResult.getIntersectionSteps();

      Metadata metadata = data.getMetadata();
      ColumnInfo outputColumn = metadata.resolveColumns(VariableType.OUT).get(0);

      int i = 0;
      for (String categoryValue : outputColumn.getValuesOfCategory())
      {
         int intersectionStep = intersectionSteps[i];

         classesReportModel.addRow(new Object[]{categoryValue, rocResult.getTp()[i][intersectionStep],
                 rocResult.getTn()[i][intersectionStep], rocResult.getFp()[i][intersectionStep],
View Full Code Here


      if (selectedIndex == -1)
      {
         selectedIndex = 0;
      }

      ColumnInfo outputColumn = metadata.resolveColumns(VariableType.OUT).get(0);
      selectClassComboBox.removeAllItems();
      for (String categoryValue : outputColumn.getValuesOfCategory())
      {
         selectClassComboBox.addItem(categoryValue);
      }

      selectClassComboBox.addActionListener(updateRocPageActionListener);
View Full Code Here

         {
            key = Localizer.getString(StringId.CLASS) + " " + clazzIndex;
         }
         else
         {
            ColumnInfo outputColumn = metadata.getColumn(metadata.getFirstOutColumnIndex());

            return outputColumn.getCategoryValueByIndex(clazzIndex);
         }

         seriesKeysMap.put(clazzIndex, key);
      }
View Full Code Here

      learningAlgorithm.getNotGuessedTestDataPercentListeners().add(testDataListener);
   }

   public List<ShowClassParameter> createShowClassParameters(Metadata metadata, List<NotGuessedSamplesPersentCalculatedListener> parents)
   {
      ColumnInfo outputColumn = metadata.getColumn(metadata.getFirstOutColumnIndex());
      int classesCount = outputColumn.getValuesOfCategory().size();

      List<ShowClassParameter> parameters = new ArrayList<ShowClassParameter>();
      for (int i = 0; i < classesCount; ++i)
      {
         String key = getSeriesKey(i, metadata);
View Full Code Here

TOP

Related Classes of com.greentea.relaxation.jnmf.util.data.ColumnInfo

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.