 
      
    
       
      
    
       
      
    
       
      
    
       
      
    
      Attribute type.
Attribute type.
 
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
      optional index
optional index
 
      
    
       
      
    
      Tests whether this attribute is nominal, true for NominalAttribute and BinaryAttribute.
Tests whether this attribute is nominal, true for NominalAttribute and BinaryAttribute.
 
      
    
      Tests whether this attribute is numeric, true for NumericAttribute and BinaryAttribute.
Tests whether this attribute is numeric, true for NumericAttribute and BinaryAttribute.
 
      
    
      optional max value
 
      
    
      optional min value
 
      
    
      optional name
optional name
 
      
    
       
      
    
       
      
    
       
      
    
      optional sparsity (ratio of zeros)
 
      
    
      optional standard deviation
 
      
    
       
      
    
      Converts to ML metadata
Converts to ML metadata
 
      
    
      Converts to ML metadata with some existing metadata.
Converts to ML metadata with some existing metadata.
 
      
    
       
      
    
      Converts to a StructField.
Converts to a StructField.
 
      
    
      Converts to a StructField with some existing metadata.
Converts to a StructField with some existing metadata.
existing metadata to carry over
 
      
    
       
      
    
       
      
    
       
      
    
      Copy with a new index.
Copy with a new index.
 
      
    
      Copy with a new max value.
 
      
    
      Copy with a new min value.
 
      
    
      Copy with a new name.
Copy with a new name.
 
      
    
      Copy with a new sparsity.
 
      
    
      Copy with a new standard deviation.
 
      
    
      Copy without the index.
Copy without the index.
 
      
    
      Copy without the max value.
 
      
    
      Copy without the min value.
 
      
    
      Copy without the name.
Copy without the name.
 
      
    
      Copy without the sparsity.
 
      
    
      Copy without the standard deviation.
 
      
    
      Copy without summary statistics.
:: DeveloperApi :: A numeric attribute with optional summary statistics.