Changeset 8072:06eb785ac776 in orange


Ignore:
Timestamp:
07/05/11 12:34:28 (3 years ago)
Author:
lanz <lan.zagar@…>
Branch:
default
Convert:
77961a8836900820ed3b1f1c47f754e4fd5e6e53
Message:

Removed casting of examples into the training domain for now as this does not work for obiGEO.transpose-ed data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/projection/pca.py

    r8054 r8072  
    147147    def __call__(self, dataset): 
    148148        if type(dataset) != Orange.data.Table: 
    149             dataset = Orange.data.Table(self.input_domain, [dataset]) 
     149            dataset = Orange.data.Table([dataset]) 
    150150 
    151151        X = dataset.to_numpy_MA("a")[0] 
     
    364364        else: 
    365365            plt.show() 
    366              
     366  
Note: See TracChangeset for help on using the changeset viewer.