Did I find the right examples for you? yes no

All Samples(13)  |  Call(13)  |  Derive(0)  |  Import(0)

src/o/r/Orange-2.7.2/docs/reference/rst/code/freeviz-pca.py   Orange(Download)
train, test = tab.select(ind, 0), tab.select(ind, 1)
 
freeviz = Orange.projection.linear.FreeViz()
freeviz.graph.set_data(train)
freeviz.show_all_attributes()
print "PCA"
freeviz.find_projection(Orange.projection.linear.DR_PCA, set_anchors=True)
projector = freeviz()
for e, projected in zip(test, mirror(projector(test))):
    print e, projected
 
print "SPCA"
freeviz.find_projection(Orange.projection.linear.DR_SPCA, set_anchors=True)
projector = freeviz()
for e, projected in zip(test, mirror(projector(test))):

src/o/r/Orange-2.7.2/docs/reference/rst/code/freeviz-projector.py   Orange(Download)
zoo = Orange.data.Table('zoo')
 
optimizer = Orange.projection.linear.FreeViz()
projector = optimizer(zoo)
 
for e, projected in zip(zoo, projector(zoo))[:10]:

src/o/r/Orange-ModelMaps-0.2.8/orangecontrib/modelmaps/modelmap.py   Orange-ModelMaps(Download)
 
        if viz_method == vr.LINEAR_PROJECTION:
            freeviz = projection.linear.FreeViz(graph)
            projections = freeviz.find_projection(vr.PROJOPT_SPCA, attrIndices, set_anchors=0, percent_data_used=100)
            if projections != None: