本文整理汇总了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;
}
示例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");
}
示例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;
}
示例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");
}
示例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");
}
示例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;
}
示例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;
}
}
示例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");
}
}
示例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;
}
示例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");
}
示例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;
}