SciSharp / NumSharp

High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
https://github.com/SciSharp
Apache License 2.0
1.34k stars 188 forks source link

argmin is not the same with numpy #437

Open tomachristian opened 3 years ago

tomachristian commented 3 years ago

https://github.com/SciSharp/NumSharp/blob/00d8700b00e815f321238536e0d6b4dbc9af8d6a/src/NumSharp.Core/Statistics/NDArray.argmin.cs#L20

this does not look right because it returns int, also np.argmin does not seem to behave correctly (like its numpy counterpart)