We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
The way this worked for me was:
import Orange iris = Orange.data.Table("iris.tab") pca = Orange.projection.pca.PCA() transformed_data = pca(iris)
However, this is poorly documented and should be explained better. Will fix it.
Sorry, something went wrong.
ajdapretnar, many thanks for your reply.
Oh, sorry. I didn't quite realize this is an Orange2 repo. Instructions might not be the same for Orange2....
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: