-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Jupyter kernel dies with njobs > 1 in classification task.
To Reproduce
import pandas as pd
from sklearn.datasets import load_breast_cancer
from atom import ATOMClassifier
X, y = load_breast_cancer(return_X_y=True)
atom = ATOMClassifier(X, y, logger="auto", n_jobs=2, verbose=2)
atom.impute(strat_num="knn", strat_cat="most_frequent", max_nan_rows=0.1)
atom.encode(strategy="LeaveOneOut", max_onehot=8, frac_to_other=0.05)
atom.feature_selection(strategy="PCA", n_features=12)
atom.run(
models=["LR","XGB"],# "lSVM", "LDA"
metric="f1",
n_calls=25,
n_initial_points=10,
n_bootstrap=4
)
Expected behavior
As described above. Works fine with njobs=1.
Additional context
Ubuntu 20.04. Python 3.9.7. Separate conda environment with packages installed
from atom requirements.txt.
Version
4.9.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working