Ignore:
Timestamp:
04/10/12 15:00:31 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Added base_features method to EarthClassifier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/testing/unit/tests/test_earth.py

    r10768 r10775  
    2323        str = self.classifier.to_string() 
    2424        evimp = self.classifier.evimp() 
     25        # Test base_features (make sure the domain translation works)  
     26        basis_features = self.classifier.base_features() 
     27        basis_domain = Orange.data.Domain(basis_features, None) 
     28        basis_matrix = Orange.data.Table(basis_domain, dataset) 
    2529 
    2630    @test_on_data 
Note: See TracChangeset for help on using the changeset viewer.