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

Assertionerror exception: no description #28

Open
yhzdsk opened this issue Aug 4, 2023 · 0 comments
Open

Assertionerror exception: no description #28

yhzdsk opened this issue Aug 4, 2023 · 0 comments

Comments

@yhzdsk
Copy link

yhzdsk commented Aug 4, 2023

executed code

# Now its time to train the model!
axgb = AutoXGB(
    train_filename=train_filename,
    output=output,
    test_filename=test_filename,
    task=task,
    idx=idx,
    targets=targets,
    features=features,
    categorical_features=categorical_features,
    use_gpu=use_gpu,
    num_folds=num_folds,
    seed=seed,
    num_trials=num_trials,
    time_limit=time_limit,
    fast=fast,
)
axgb.train()

log:

2023-08-04 14:31:55.744 | INFO     | autoxgb.autoxgb:__post_init__:42 - Output directory: output3
2023-08-04 14:31:55.744 | INFO     | autoxgb.autoxgb:_process_data:149 - Reading training data
2023-08-04 14:31:55.765 | INFO     | autoxgb.utils:reduce_memory_usage:48 - Mem. usage decreased to 0.79 Mb (37.5% reduction)
2023-08-04 14:31:55.767 | INFO     | autoxgb.autoxgb:_determine_problem_type:140 - Problem type: multi_label_classification
2023-08-04 14:31:55.767 | INFO     | autoxgb.autoxgb:_create_folds:58 - Creating folds
2023-08-04 14:31:55.772 | INFO     | autoxgb.autoxgb:_process_data:195 - Found 18 categorical features.
2023-08-04 14:31:55.772 | INFO     | autoxgb.autoxgb:_process_data:198 - Encoding categorical features
2023-08-04 14:31:55.924 | INFO     | autoxgb.autoxgb:_process_data:236 - Model config: train_filename='/data_16t/hongziwen/autoxgb-main/data_samples/multi_label_classification.csv' test_filename=None idx='id' targets=['service_a', 'service_b'] problem_type=<ProblemType.multi_label_classification: 3> output='output3' features=['release', 'n_0047', 'n_0050', 'n_0052', 'n_0061', 'n_0067', 'n_0075', 'n_0078', 'n_0091', 'n_0108', 'n_0109', 'o_0176', 'o_0264', 'c_0466', 'c_0500', 'c_0638', 'c_0699', 'c_0738', 'c_0761', 'c_0770', 'c_0838', 'c_0870', 'c_0980', 'c_1145', 'c_1158', 'c_1189', 'c_1223', 'c_1227', 'c_1244', 'c_1259'] num_folds=5 use_gpu=True seed=42 categorical_features=['release', 'c_0466', 'c_0500', 'c_0638', 'c_0699', 'c_0738', 'c_0761', 'c_0770', 'c_0838', 'c_0870', 'c_0980', 'c_1145', 'c_1158', 'c_1189', 'c_1223', 'c_1227', 'c_1244', 'c_1259'] num_trials=100 time_limit=360 fast=False
2023-08-04 14:31:55.924 | INFO     | autoxgb.autoxgb:_process_data:237 - Saving model config
2023-08-04 14:31:55.925 | INFO     | autoxgb.autoxgb:_process_data:241 - Saving encoders

error

Exception has occurred: AssertionError
exception: no description
  File "/data_16t//autoxgb-main/examples/multi_label_classification.py", line 39, in <module>
    axgb.train()
AssertionError: 

I reproduce it according to the readme.md file.

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