RubixML / ML

A high-level machine learning and deep learning library for the PHP language.

Home Page:https://rubixml.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning: Ambiguous class resolution, `Rubix\ML\Kernels\Distance\Gower`

andrey-helldar opened this issue · comments

I'm using the BM25Transformer transformer contained in the rubixml/extras repository, but after updating RubixML to version 2.2, a warning occurs when installing dependencies:

Warning: Ambiguous class resolution, "Rubix\ML\Kernels\Distance\Gower" was found in both "D:/domains/dragon-code/apps/webhooks/vendor/rubix/extras/src\Kernels\Distance\Gower.php" and "D:/domains/dragon-code/apps/webhooks/vendor/rubix/ml/src\Kernels\Distance\Gower.php", the first will be used.

Same namespace: Rubix\ML\Kernels\Distance\Gower

PR: #242

I think we still need to remove Gower from the Extras package as we moved it over from Extras to the main package for version 2.2. Will do this as soon as I have time.

Thank you

Ok Gower was removed in Extras 2.0.1-beta so now it should be compatible with ML 2.2.0.

https://github.com/RubixML/Extras/releases/tag/2.0.1-beta