NumSharp the C# port of NumPy

Haiping Chen
SciSharp STACK
Published in
1 min readOct 10, 2018

Is it difficult to translate python machine learning code into C#? Because too many functions can’t be found in the corresponding code in the .Net SDK. NumSharp is the C# version of NumPy, which is as consistent as possible with the NumPy programming interface, including function names and parameter locations. By introducing the NumSharp tool library, you can easily convert from python code to C# code. Here is a comparison code between NumSharp and NumPy (left is python, right is C#):

NumSharp has implemented the arange, array, max, min, reshape, normalize, unique interfaces. More and more interfaces will be added to the library gradually. You can check the code from repo NumSharp.

If you want to use .NET to get started with machine learning, NumSharp will be your best tool library. Learn more about .NET based AI techonlogy, please take a look at SciSharp STACK github.

--

--