biolab / biolab/orange2

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

Open
#52 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
304
Forks
142
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.