Skip to content

TypeError 'module' object is not callable: when calling Orange.projection.pca #52

@Garch2017

Description

@Garch2017

Hi,

Can anyone help with the error below when I call the code?

import Orange
iris = Orange.data.Table("iris.tab")
pca = Orange.projection.linear.Pca(iris)
transformed_data = pca(iris)

ERROR:
import Orange
iris = Orange.data.Table("iris.tab")
pca = Orange.projection.pca(iris)
transformed_data = pca(iris)
Traceback (most recent call last):
File "", line 4, in
pca = Orange.projection.pca(iris)
TypeError: 'module' object is not callable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions