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.
- https://github.com/RubixML/Extras/blob/master/src/Kernels/Distance/Gower.php
- https://github.com/RubixML/ML/blob/master/src/Kernels/Distance/Gower.php
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.
@andrewdalpino, thank you!