Code Monkey home page Code Monkey logo

Comments (7)

lorebon avatar lorebon commented on August 19, 2024 1

Ok, now it works, thank you!

from wildboar.

isaksamsten avatar isaksamsten commented on August 19, 2024

The issue is partially resolved in 238205e

Support can be tested with:

from wildboar.datasets import load_dataset
from wildboar.ensemble import ShapeletForestClassifier
from wildboar.explain.counterfactual import counterfactuals
x_train, x_test, y_train, y_test = load_dataset("CharacterTrajectories", repository="wildboar/ucrmts", preprocess="truncate", merge_train_test=False)
f = ShapeletForestClassifier(max_depth=5)
f.fit(x_train, y_train)
x_counterfactual, success = counterfactuals(f, x_train[:3], 1)

from wildboar.

lorebon avatar lorebon commented on August 19, 2024

The issue is partially resolved in 238205e

Support can be tested with:

from wildboar.datasets import load_dataset
from wildboar.ensemble import ShapeletForestClassifier
from wildboar.explain.counterfactual import counterfactuals
x_train, x_test, y_train, y_test = load_dataset("CharacterTrajectories", repository="wildboar/ucrmts", preprocess="truncate", merge_train_test=False)
f = ShapeletForestClassifier(max_depth=5)
f.fit(x_train, y_train)
x_counterfactual, success = counterfactuals(f, x_train[:3], 1)

I've got the following error, when trying your test code: "ImportError: cannot import name 'pairwise_subsequence_distance' from 'wildboar.distance' (C:\ ...\ init.py)"

from wildboar.

isaksamsten avatar isaksamsten commented on August 19, 2024

You must build the latest commit from source. I'll RC4 of 1.1 will be built once a few minor issues are resolved.

from wildboar.

lorebon avatar lorebon commented on August 19, 2024

You must build the latest commit from source. I'll RC4 of 1.1 will be built once a few minor issues are resolved.

When I run "python setup.py install" with the latest commit I get the following error: "ModuleNotFoundError: No module named 'wildboar.version'"

from wildboar.

isaksamsten avatar isaksamsten commented on August 19, 2024

You need to install the requirements-dev.txt packages.

from wildboar.

isaksamsten avatar isaksamsten commented on August 19, 2024

Otherwise run: pip install . in the wildboar folder

from wildboar.

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.