dmlc / dgl

Python package built to ease deep learning on graph, on top of existing DL frameworks.
http://dgl.ai
Apache License 2.0
13.19k stars 2.99k forks source link

[FutureWarn] Fix FutureWarning in `TAHIN` example. #7418

Closed drivanov closed 1 month ago

drivanov commented 1 month ago

Description

The following FutureWarning is fixed:

/usr/local/lib/python3.10/dist-packages/sklearn/metrics/_classification.py:2910: FutureWarning: Setting the eps 
parameter is deprecated and will be removed in 1.5. Instead eps will always havea default value 
of `np.finfo(y_pred.dtype).eps`.
  warnings.warn(

I performed some minor cleanup on the utils.py file.

Checklist

Please feel free to remove inapplicable items for your PR.

Changes

dgl-bot commented 1 month ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 month ago

Commit ID: 7620f7c70ed1fcf385319efa86c0c82db285a6f3

Build ID: 1

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

dgl-bot commented 1 month ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 month ago

Commit ID: 4c4c8c92a3371395adf3b0616bd10ed0fe3e13fc

Build ID: 2

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

dgl-bot commented 1 month ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 month ago

Commit ID: afc5f25a8c6ba0b8204aef2d7ac4eaccc10fc682

Build ID: 3

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

dgl-bot commented 1 month ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 month ago

Commit ID: 9e2ae85280cad7c34acc011152cd8b615aeb9de7

Build ID: 4

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

dgl-bot commented 1 month ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 month ago

Commit ID: e3b7264d20ee0d056a77676054ff6938cf717ffe

Build ID: 5

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

dgl-bot commented 1 month ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 month ago

Commit ID: b8ea81483e5341fb96edcfda086956629c5788ab

Build ID: 6

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

dgl-bot commented 1 month ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 month ago

Commit ID: fed712876bd0cc39a8ce7daa481f3ba81c02960a

Build ID: 7

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

frozenbugs commented 1 month ago

@dgl-bot

dgl-bot commented 1 month ago

Commit ID: fed712876bd0cc39a8ce7daa481f3ba81c02960a

Build ID: 8

Status: ✅ CI test succeeded.

Report path: link

Full logs path: link

dgl-bot commented 1 month ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 month ago

Commit ID: cf57a3b96b4b9ec77a5a458e73280e31c700b47a

Build ID: 9

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link