Java Code Examples for weka.core.Drawable#NOT_DRAWABLE

The following examples show how to use weka.core.Drawable#NOT_DRAWABLE . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ThresholdSelector.java    From tsml with GNU General Public License v3.0 5 votes vote down vote up
/**
 * 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;
}
 
Example 2
Source File: FilteredClassifier.java    From tsml with GNU General Public License v3.0 5 votes vote down vote up
/**
 * 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;
}
 
Example 3
Source File: CostSensitiveClassifier.java    From tsml with GNU General Public License v3.0 5 votes vote down vote up
/**
 *  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;
}
 
Example 4
Source File: CVParameterSelection.java    From tsml with GNU General Public License v3.0 5 votes vote down vote up
/**
 *  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;
}
 
Example 5
Source File: AttributeSelectedClassifier.java    From tsml with GNU General Public License v3.0 5 votes vote down vote up
/**
 *  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;
}
 
Example 6
Source File: InputMappedClassifier.java    From tsml with GNU General Public License v3.0 5 votes vote down vote up
/**
 *  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;
}