Ignore:
Timestamp:
03/21/12 13:48:12 (2 years ago)
Author:
anze <anze.staric@…>
Branch:
default
Message:

Updated linear projectors to include class data in projected domain. Also added get_value_from to new features.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/freeviz-pca.py

    r10475 r10612  
    2121    rotate = np.diagflat([-1 if val<0 else 1 for val in a[0]]) 
    2222    a = np.dot(a, rotate) 
    23     return Orange.data.Table(tab.domain, a) 
     23    return Orange.data.Table(Orange.data.Domain(tab.domain.features), a) 
    2424 
    2525print "PCA" 
Note: See TracChangeset for help on using the changeset viewer.