Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NumSharp

NumPy port in C# .NET Standard 2.0

Join the chat at https://gitter.im/publiclab/publiclab NumSharp

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#):

comparision

NumSharp has implemented the arange, array, max, min, reshape, normalize, unique interfaces. More and more interfaces will be added to the library gradually. If you want to use .NET to get started with machine learning, NumSharp will be your best tool library.

Implemented APIs

  • NdArray

    • ARange
    • ArgMax
    • Array
    • AsMatrix
    • Convolve
    • Delete
    • Divide
    • Dot
    • HStack
    • Max
    • Mean
    • Min
    • Minus
    • Normalize
    • Random
    • ReShape
    • Std
    • Sum
    • Unique
    • Zeros
  • NdArrayRandom

    • Permutation
    • Shuffle
  • Matrix

Install NumSharp in NuGet

Install-Package NumSharp -Version 0.1.0

How to make docs

$ pip install sphinx
$ pip install recommonmark
$ cd docs
$ make html

Online documents

NumSharp is referenced by:

Welcome to fork and pull request to add more APIs, and make reference list longer.

About

High Performance Computation for Tensor in .NET, keep APIs same as NumPy and SciPy.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages