Giter VIP home page Giter VIP logo

Comments (6)

EricLina avatar EricLina commented on August 24, 2024

I meeted the same BUG too!

from sktime-dl.

loc-trinh avatar loc-trinh commented on August 24, 2024

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.

nilesh05apr avatar nilesh05apr commented on August 24, 2024

The updated syntax is "from sktime_dl.classification import CNNClassifier"

from sktime-dl.

yerbby avatar yerbby commented on August 24, 2024

Hi,

I think this is broken again.

  1. I installed:
    Successfully installed deprecated-1.2.13 sktime-0.13.2 sktime-dl-0.1.0

  2. 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.

aman-agar avatar aman-agar commented on August 24, 2024

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.

fkiraly avatar fkiraly commented on August 24, 2024

Obsolete since migration to sktime - indeed the solution is as @aman-agar says, using the migrated version.

from sktime-dl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.