Comments (6)
I meeted the same BUG too!
from sktime-dl.
examples seem outdated. you guys should get the latest version 0.2.0? of this package and check out the sktime_dl/tests for examples of how to run the various classification models.
from sktime-dl.
The updated syntax is "from sktime_dl.classification import CNNClassifier"
from sktime-dl.
Hi,
I think this is broken again.
-
I installed:
Successfully installed deprecated-1.2.13 sktime-0.13.2 sktime-dl-0.1.0
-
imports:
# from sktime_dl.classifiers import CNNClassifier # does not work
# from sktime_dl.classification import CNNClassifier # does not work
from sktime_dl.classifiers.deeplearning import CNNClassifier
This rises the error:
[/usr/local/lib/python3.7/dist-packages/sktime_dl/classifiers/deeplearning/_cnn.py](https://localhost:8080/#) in <module>
17 __author__ = "James Large"
18
---> 19 import keras
20 import numpy as np
21 import pandas as pd
ImportError: cannot import name 'check_X_y' from 'sktime.utils.validation' (/usr/local/lib/python3.7/dist-packages/sktime/utils/validation/__init__.py)
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
Any hints are appreciated.
yby.
from sktime-dl.
Hey! I think I have found a solution for this.
Try using:
from sktime.classification.deep_learning import CNNClassifier
It worked for me.
from sktime-dl.
Obsolete since migration to sktime
- indeed the solution is as @aman-agar says, using the migrated version.
from sktime-dl.
Related Issues (20)
- [BUG] Examples don't run HOT 1
- Migration to `sktime`
- Add flaky for forecasting tests HOT 2
- will your cod work when data is mixer of continues and categorical variables for each time sample? HOT 2
- sktime-dl examples? HOT 3
- ModuleNotFoundError: No module named 'sktime_dl.deeplearning.lstm' HOT 4
- Question: Normalization required? HOT 4
- Forecasting reduction capabilities/tests HOT 3
- Update examples notebooks to support sktime 0.4.1 HOT 2
- [BUG] ImportError: cannot import name 'tabularise' from 'sktime.utils.data_container' HOT 2
- Loss function in CNNClassifier HOT 2
- [BUG] Problem with sktime-dl installation; cannot import e.g. sktime_dl.deeplearning HOT 19
- [BUG] ImportError: cannot import name 'tabularise' HOT 1
- [BUG] ModuleNotFoundError: No module named 'sktime.utils.data_container' HOT 3
- Checklist for Refactoring CI/CD of sktime-dl HOT 5
- [BUG] ModuleNotFoundError: No module named 'sktime.utils.data_container' HOT 3
- Refactor into classifier/regressor/network structure HOT 1
- [BUG] failing tests in test_regressors.py for LSTMRegressor HOT 1
- [DOC] Update comment style to comply with sktime format HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sktime-dl.