Giter VIP home page Giter VIP logo

Comments (6)

fa9r avatar fa9r commented on May 31, 2024 2

@Coder-Vishali thanks for opening the issue. I removed this function from ZenML core during the last release, but apparently forgot to adjust ZenBytes accordingly. I'll make sure to fix this later today.

To temporarily fix this, you can either downgrade zenml to the previous version, or you can replace the get_digits() call with the following code:

from sklearn.datasets import load_digits
from sklearn.model_selection import train_test_split

digits = load_digits()
data = digits.images.reshape((len(digits.images), -1))
X_train, X_test, y_train, y_test = train_test_split(
    data, digits.target, test_size=0.2, shuffle=False
)

from zenbytes.

Coder-Vishali avatar Coder-Vishali commented on May 31, 2024 1

@Coder-Vishali I just updated ZenBytes, all lessons should now work correctly with the latest zenml version 0.13.0.

Please let me know if that fixed the issue for you.

Best, Felix

Issue is fixed now!

from zenbytes.

dnth avatar dnth commented on May 31, 2024

Hi @Coder-Vishali which version of zenml are you running on?

from zenbytes.

fa9r avatar fa9r commented on May 31, 2024

@Coder-Vishali I just updated ZenBytes, all lessons should now work correctly with the latest zenml version 0.13.0.

Please let me know if that fixed the issue for you.

Best,
Felix

from zenbytes.

Coder-Vishali avatar Coder-Vishali commented on May 31, 2024

Hi @Coder-Vishali which version of zenml are you running on?

I am using 0.13.0 version of zenml

from zenbytes.

Coder-Vishali avatar Coder-Vishali commented on May 31, 2024

@Coder-Vishali thanks for opening the issue. I removed this function from ZenML core during the last release, but apparently forgot to adjust ZenBytes accordingly. I'll make sure to fix this later today.

To temporarily fix this, you can either downgrade zenml to the previous version, or you can replace the get_digits() call with the following code:

from sklearn.datasets import load_digits
from sklearn.model_selection import train_test_split

digits = load_digits()
data = digits.images.reshape((len(digits.images), -1))
X_train, X_test, y_train, y_test = train_test_split(
    data, digits.target, test_size=0.2, shuffle=False
)

Hey Thanks for the quick reply. It is working fine now!

from zenbytes.

Related Issues (1)

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.