Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: pipelines fitting fails on time series classification #168

Open
Lopa10ko opened this issue Nov 11, 2024 · 0 comments
Open

[Bug]: pipelines fitting fails on time series classification #168

Lopa10ko opened this issue Nov 11, 2024 · 0 comments

Comments

@Lopa10ko
Copy link
Collaborator

Problem

Getting ValueError: Initial pipeline fit was failed due to: catboost/private/libs/algo/data.cpp:199: Dataset test #0 contains class label "12" that is not present in the learn dataset. Check pipeline structure and the correctness of the data

Steps to reproduce

from fedot_ind.api.main import FedotIndustrial
from fedot_ind.tools.loader import DataLoader

dataset_name = 'Handwriting'
loader = DataLoader(dataset_name=dataset_name)
train_data, test_data = loader.load_data()

api_config = dict(problem='classification',
                  metric='f1',
                  timeout=3,
                  pop_size=10,
                  with_tuning=True,
                  seed=42,
                  n_jobs=-1,
                  logging_level=20)
model = FedotIndustrial(**api_config)
model.fit(train_data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant