• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java VisualizePanel类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中weka.gui.visualize.VisualizePanel的典型用法代码示例。如果您正苦于以下问题:Java VisualizePanel类的具体用法?Java VisualizePanel怎么用?Java VisualizePanel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

VisualizePanel类属于weka.gui.visualize包,在下文中一共展示了VisualizePanel类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: visualizeClusterAssignments

点赞 3

import weka.gui.visualize.VisualizePanel; //导入依赖的package包/类
/**
 * Pops up a visualize panel to display cluster assignments
 * 
 * @param sp the visualize panel to display
 */
protected void visualizeClusterAssignments(VisualizePanel sp) {
  if (sp != null) {
    String plotName = sp.getName();
    final javax.swing.JFrame jf = new javax.swing.JFrame(
      "Weka Clusterer Visualize: " + plotName);
    jf.setSize(500, 400);
    jf.getContentPane().setLayout(new BorderLayout());
    jf.getContentPane().add(sp, BorderLayout.CENTER);
    jf.addWindowListener(new java.awt.event.WindowAdapter() {
      @Override
      public void windowClosing(java.awt.event.WindowEvent e) {
        jf.dispose();
      }
    });

    jf.setVisible(true);
  }
}
 

开发者ID:mydzigear,
项目名称:repo.kmeanspp.silhouette_score,
代码行数:24,
代码来源:ClustererPanel.java

示例2: visualizeClassifierErrors

点赞 3

import weka.gui.visualize.VisualizePanel; //导入依赖的package包/类
/**
 * Pops up a VisualizePanel for visualizing the data and errors for the
 * classifier from the currently selected item in the results list.
 * 
 * @param sp the VisualizePanel to pop up.
 */
protected void visualizeClassifierErrors(VisualizePanel sp) {

  if (sp != null) {
    String plotName = sp.getName();
    final javax.swing.JFrame jf =
      new javax.swing.JFrame("Weka Classifier Visualize: " + plotName);
    jf.setSize(600, 400);
    jf.getContentPane().setLayout(new BorderLayout());

    jf.getContentPane().add(sp, BorderLayout.CENTER);
    jf.addWindowListener(new java.awt.event.WindowAdapter() {
      @Override
      public void windowClosing(java.awt.event.WindowEvent e) {
        jf.dispose();
      }
    });

    jf.setVisible(true);
  }
}
 

开发者ID:mydzigear,
项目名称:repo.kmeanspp.silhouette_score,
代码行数:27,
代码来源:ClassifierPanel.java

示例3: visualizeClusterAssignments

点赞 3

import weka.gui.visualize.VisualizePanel; //导入依赖的package包/类
/**
 * Pops up a visualize panel to display cluster assignments
 * 
 * @param sp the visualize panel to display
 */
protected void visualizeClusterAssignments(VisualizePanel sp) {
  if (sp != null) {
    String plotName = sp.getName();
    final javax.swing.JFrame jf = new javax.swing.JFrame(
        "Weka Clusterer Visualize: " + plotName);
    jf.setSize(500, 400);
    jf.getContentPane().setLayout(new BorderLayout());
    jf.getContentPane().add(sp, BorderLayout.CENTER);
    jf.addWindowListener(new java.awt.event.WindowAdapter() {
      @Override
      public void windowClosing(java.awt.event.WindowEvent e) {
        jf.dispose();
      }
    });

    jf.setVisible(true);
  }
}
 

开发者ID:dsibournemouth,
项目名称:autoweka,
代码行数:24,
代码来源:ClustererPanel.java

示例4: visualizeClassifierErrors

点赞 3

import weka.gui.visualize.VisualizePanel; //导入依赖的package包/类
/**
 * Pops up a VisualizePanel for visualizing the data and errors for the
 * classifier from the currently selected item in the results list.
 * 
 * @param sp the VisualizePanel to pop up.
 */
protected void visualizeClassifierErrors(VisualizePanel sp) {

  if (sp != null) {
    String plotName = sp.getName();
    final javax.swing.JFrame jf = new javax.swing.JFrame(
        "Weka Classifier Visualize: " + plotName);
    jf.setSize(600, 400);
    jf.getContentPane().setLayout(new BorderLayout());

    jf.getContentPane().add(sp, BorderLayout.CENTER);
    jf.addWindowListener(new java.awt.event.WindowAdapter() {
      @Override
      public void windowClosing(java.awt.event.WindowEvent e) {
        jf.dispose();
      }
    });

    jf.setVisible(true);
  }
}
 

开发者ID:dsibournemouth,
项目名称:autoweka,
代码行数:27,
代码来源:ClassifierPanel.java

示例5: visualizeClassifierErrors

点赞 3

import weka.gui.visualize.VisualizePanel; //导入依赖的package包/类
/**
 * Pops up a VisualizePanel for visualizing the data and errors for the
 * classifier from the currently selected item in the results list.
 * 
 * @param sp the VisualizePanel to pop up.
 */
protected void visualizeClassifierErrors(VisualizePanel sp) {

  if (sp != null) {
    String plotName = sp.getName();
    final javax.swing.JFrame jf = new javax.swing.JFrame(
      "Weka Classifier Visualize: " + plotName);
    jf.setSize(600, 400);
    jf.getContentPane().setLayout(new BorderLayout());

    jf.getContentPane().add(sp, BorderLayout.CENTER);
    jf.addWindowListener(new java.awt.event.WindowAdapter() {
      @Override
      public void windowClosing(java.awt.event.WindowEvent e) {
        jf.dispose();
      }
    });

    jf.setVisible(true);
  }
}
 

开发者ID:umple,
项目名称:umple,
代码行数:27,
代码来源:ClassifierPanel.java

示例6: visualizeClusterAssignments

点赞 3

import weka.gui.visualize.VisualizePanel; //导入依赖的package包/类
/**
 * Pops up a visualize panel to display cluster assignments
 * 
 * @param sp the visualize panel to display
 */
protected void visualizeClusterAssignments(VisualizePanel sp) {
  if (sp != null) {
    String plotName = sp.getName();
    final javax.swing.JFrame jf = new javax.swing.JFrame(Messages
        .getInstance().getString(
            "ClustererPanel_VisualizeClusterAssignments_JFrame_Text")
        + plotName);
    jf.setSize(500, 400);
    jf.getContentPane().setLayout(new BorderLayout());
    jf.getContentPane().add(sp, BorderLayout.CENTER);
    jf.addWindowListener(new java.awt.event.WindowAdapter() {
      @Override
      public void windowClosing(java.awt.event.WindowEvent e) {
        jf.dispose();
      }
    });

    jf.setVisible(true);
  }
}
 

开发者ID:williamClanton,
项目名称:jbossBA,
代码行数:26,
代码来源:ClustererPanel.java

示例7: visualizeClassifierErrors

点赞 3

import weka.gui.visualize.VisualizePanel; //导入依赖的package包/类
/**
 * Pops up a VisualizePanel for visualizing the data and errors for the
 * classifier from the currently selected item in the results list
 * 
 * @param sp the VisualizePanel to pop up.
 */
protected void visualizeClassifierErrors(VisualizePanel sp) {

  if (sp != null) {
    String plotName = sp.getName();
    final javax.swing.JFrame jf = new javax.swing.JFrame(Messages
      .getInstance().getString(
        "ClassifierPanel_VisualizeClassifierErrors_JF_JFrame_Text")
      + plotName);
    jf.setSize(600, 400);
    jf.getContentPane().setLayout(new BorderLayout());

    jf.getContentPane().add(sp, BorderLayout.CENTER);
    jf.addWindowListener(new java.awt.event.WindowAdapter() {
      @Override
      public void windowClosing(java.awt.event.WindowEvent e) {
        jf.dispose();
      }
    });

    jf.setVisible(true);
  }
}
 

开发者ID:williamClanton,
项目名称:jbossBA,
代码行数:29,
代码来源:ClassifierPanel.java

示例8: visualizeClassifierErrors

点赞 2

import weka.gui.visualize.VisualizePanel; //导入依赖的package包/类
/**
 * Pops up a VisualizePanel for visualizing the data and errors for the
 * classifier from the currently selected item in the results list.
 * 
 * @param sp the VisualizePanel to pop up.
 */
protected void visualizeClassifierErrors(VisualizePanel sp) {
  if (sp != null) {
    JFrame jf = new javax.swing.JFrame("Classifier Visualize: " + sp.getName());
    jf.setSize(600, 400);
    jf.getContentPane().setLayout(new BorderLayout());
    jf.getContentPane().add(sp, BorderLayout.CENTER);
    jf.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    jf.setVisible(true);
  }
}
 

开发者ID:fracpete,
项目名称:collective-classification-weka-package,
代码行数:17,
代码来源:CollectiveClassifierPanel.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)