Skip to content

A few easily fixable warnings #238

@lsorber

Description

@lsorber

When training an ensemble with auto-sklearn 0.1.2, I see the following easily fixable warnings:

[...]/env/lib/python3.5/site-packages/autosklearn/pipeline/implementations/ProjLogit.py:36:
VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
yt = np.zeros((n, k))
[...]/env/lib/python3.5/site-packages/autosklearn/pipeline/implementations/ProjLogit.py:38:
VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
yt[i, Y[i]] = 1
[...]/env/lib/python3.5/site-packages/sklearn/utils/class_weight.py:62:
DeprecationWarning: The class_weight='auto' heuristic is deprecated in 0.17 in favor of a new heuristic class_weight='balanced'. 'auto' will be removed in 0.19
" 0.19", DeprecationWarning)

Fixing these would not take much time, and would help reduce the noise in the output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions