当前位置: 首页>>代码示例>>Java>>正文


Java Drawable类代码示例

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


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

示例1: graphType

import weka.core.Drawable; //导入依赖的package包/类
/**
 * Returns the type of graph this classifier represents.
 * 
 * @return the graph type of this classifier
 */
public int graphType() {

  if (m_Classifier instanceof Drawable)
    return ((Drawable) m_Classifier).graphType();
  else
    return Drawable.NOT_DRAWABLE;
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:13,代码来源:FilteredClassifier.java

示例2: graph

import weka.core.Drawable; //导入依赖的package包/类
/**
 * Returns graph describing the classifier (if possible).
 *
 * @return the graph of the classifier in dotty format
 * @throws Exception if the classifier cannot be graphed
 */
public String graph() throws Exception {

  if (m_Classifier instanceof Drawable)
    return ((Drawable) m_Classifier).graph();
  else
    throw new Exception("Classifier: " + getClassifierSpec()
      + " cannot be graphed");
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:15,代码来源:FilteredClassifier.java

示例3: graphType

import weka.core.Drawable; //导入依赖的package包/类
/**
 *  Returns the type of graph this classifier
 *  represents.
 *  
 *  @return the type of graph this classifier represents
 */   
public int graphType() {
  
  if (m_Classifier instanceof Drawable)
    return ((Drawable)m_Classifier).graphType();
  else 
    return Drawable.NOT_DRAWABLE;
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:14,代码来源:CostSensitiveClassifier.java

示例4: graph

import weka.core.Drawable; //导入依赖的package包/类
/**
 * Returns graph describing the classifier (if possible).
 *
 * @return the graph of the classifier in dotty format
 * @throws Exception if the classifier cannot be graphed
 */
public String graph() throws Exception {
  
  if (m_Classifier instanceof Drawable)
    return ((Drawable)m_Classifier).graph();
  else throw new Exception("Classifier: " + getClassifierSpec()
	     + " cannot be graphed");
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:14,代码来源:CostSensitiveClassifier.java

示例5: graph

import weka.core.Drawable; //导入依赖的package包/类
/**
 * Returns graph describing the classifier (if possible).
 *
 * @return the graph of the classifier in dotty format
 * @throws Exception if the classifier cannot be graphed
 */
public String graph() throws Exception {
  
  if (m_Classifier instanceof Drawable)
    return ((Drawable)m_Classifier).graph();
  else throw new Exception("Classifier: " + 
	     m_Classifier.getClass().getName() + " " +
	     Utils.joinOptions(m_BestClassifierOptions)
	     + " cannot be graphed");
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:16,代码来源:CVParameterSelection.java

示例6: graphType

import weka.core.Drawable; //导入依赖的package包/类
/**
 *  Returns the type of graph this classifier
 *  represents.
 *  
 *  @return the type of graph
 */   
public int graphType() {
  
  if (m_Classifier instanceof Drawable)
    return ((Drawable)m_Classifier).graphType();
  else 
    return Drawable.NOT_DRAWABLE;
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:14,代码来源:AttributeSelectedClassifier.java

示例7: graphType

import weka.core.Drawable; //导入依赖的package包/类
/**
 * Returns the type of graph this classifier represents.
 * 
 * @return the type of graph
 */
@Override
public int graphType() {

  if (m_Classifier instanceof Drawable) {
    return ((Drawable) m_Classifier).graphType();
  } else {
    return Drawable.NOT_DRAWABLE;
  }
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:15,代码来源:InputMappedClassifier.java

示例8: graph

import weka.core.Drawable; //导入依赖的package包/类
/**
 * Returns graph describing the classifier (if possible).
 * 
 * @return the graph of the classifier in dotty format
 * @throws Exception if the classifier cannot be graphed
 */
@Override
public String graph() throws Exception {

  if (m_Classifier != null && m_Classifier instanceof Drawable) {
    return ((Drawable) m_Classifier).graph();
  } else {
    throw new Exception("Classifier: " + getClassifierSpec()
      + " cannot be graphed");
  }
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:17,代码来源:InputMappedClassifier.java

示例9: graphType

import weka.core.Drawable; //导入依赖的package包/类
/**
 * Returns the type of graph this classifier
 * represents.
 *  
 * @return the graph type of this classifier
 */   
public int graphType() {
  
  if (m_Classifier instanceof Drawable)
    return ((Drawable)m_Classifier).graphType();
  else 
    return Drawable.NOT_DRAWABLE;
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:14,代码来源:FilteredClassifier.java

示例10: graph

import weka.core.Drawable; //导入依赖的package包/类
/**
 * Returns graph describing the classifier (if possible).
 *
 * @return the graph of the classifier in dotty format
 * @throws Exception if the classifier cannot be graphed
 */
public String graph() throws Exception {
  
  if (m_Classifier != null && 
      m_Classifier instanceof Drawable)
    return ((Drawable)m_Classifier).graph();
  else throw new Exception("Classifier: " + getClassifierSpec()
                           + " cannot be graphed");
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:15,代码来源:InputMappedClassifier.java

示例11: graphType

import weka.core.Drawable; //导入依赖的package包/类
/**
 * Returns the type of graph this classifier
 * represents.
 *  
 * @return the type of graph this classifier represents
 */   
public int graphType() {
  
  if (m_Classifier instanceof Drawable)
    return ((Drawable)m_Classifier).graphType();
  else 
    return Drawable.NOT_DRAWABLE;
}
 
开发者ID:williamClanton,项目名称:jbossBA,代码行数:14,代码来源:ThresholdSelector.java


注:本文中的weka.core.Drawable类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。