SciSharp / NumSharp

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

Basic np.random.choice functionality #310

Closed Plankton555 closed 5 years ago

Plankton555 commented 5 years ago

Random sampling with weighted probabilities.

Missing functionalit:

Nucs commented 5 years ago

Nice, I'll merge but this will have to go through some changes once we change the backend. I'll make sure to modify it

Oceania2018 commented 5 years ago

@Plankton555 Seems like you get the point very fast. Thanks for you contribution.