I've been playing around with sklearn.
While I am able to use some classes as the Decision Tree
from sklearn.tree import DecisionTreeRegressor (possible to import)
it's not possible to import other's eg. the neural network classifier:
from sklearn.neural_network import MLPClassifier
Importing MLPClassifier from sklearn.neural_network raised an ImportError. No modules or attributes with a similar name were found.
Trying to copy the class's source code also failed because inheritance seems to be disabled in quantopian (InputRejected:
Insecure built-in function 'super').
I do understand that it comes from security concers as described in similar posts but i still have the follwing questions:
- Am I doing anything wrong?
- How can I see the limitations of actually supported libraries as sklearn?
- Is there another possibility to use machine learning methods (classifiers/regressors) except sklearn that i could use instead?