You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get Autokeras work on categorial data classification task on Google Colab
import autokeras as ak
clf = ak.StructuredDataClassifier(max_trials=10)
clf.fit(X_train, y_train, epochs=5)
loss, accuracy = clf.evaluate(X_test, y_test)
print(f"Test Accuracy: {accuracy}")
but the module 'autokeras' has no attribute 'StructuredDataClassifier' keeps appearing. The attribute is no longer within the module so anyone with any workaround?
Autokeras 2.0.0
Python 3.10.12
Thanks
The text was updated successfully, but these errors were encountered:
m-alshehri
changed the title
AttributeError: module 'autokeras' has no attribute 'StructuredDataClassifier'Bug:
AttributeError: module 'autokeras' has no attribute 'StructuredDataClassifier'
Aug 9, 2024
m-alshehri
changed the title
AttributeError: module 'autokeras' has no attribute 'StructuredDataClassifier'
module 'autokeras' has no attribute 'StructuredDataClassifier'
Aug 9, 2024
Then build the .whl package using python -m build and its associated dependencies
Inside the created dist directory run pip install <>.whl to install AutoKeras and its dependencies
Enter examples directory and execute maybe the wine or titanic files.
You might encounter a protobuf version compatibility error, I chose to follow instructions (thou at a performance cost) of setting the environment variable: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
The above worked for me, on an UBUNTU MACHINE
To try
Get GPU Tensorflow
Resolve protobuf dependency.
I had also tried to re-integrate StructuredData into the latest codebase, but I'm still encountering errors.
I'm trying to get Autokeras work on categorial data classification task on Google Colab
but the
module 'autokeras' has no attribute 'StructuredDataClassifier'
keeps appearing. The attribute is no longer within the module so anyone with any workaround?Autokeras 2.0.0
Python 3.10.12
Thanks
The text was updated successfully, but these errors were encountered: