All Projects → safwank → Numerix

safwank / Numerix

Licence: mit
A collection of useful mathematical functions in Elixir with a slant towards statistics, linear algebra and machine learning

Programming Languages

elixir
2628 projects

Projects that are alternatives of or similar to Numerix

Math Php
Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
Stars: ✭ 2,009 (+1163.52%)
Mutual labels:  statistics, math, linear-algebra
Machine Learning Curriculum
Complete path for a beginner to become a Machine Learning Scientist!
Stars: ✭ 279 (+75.47%)
Mutual labels:  statistics, math, linear-algebra
Mathnet Numerics
Math.NET Numerics
Stars: ✭ 2,688 (+1590.57%)
Mutual labels:  statistics, math, linear-algebra
Owl
Owl - OCaml Scientific and Engineering Computing @ http://ocaml.xyz
Stars: ✭ 919 (+477.99%)
Mutual labels:  statistics, linear-algebra
Teaching
Teaching Materials for Dr. Waleed A. Yousef
Stars: ✭ 435 (+173.58%)
Mutual labels:  statistics, linear-algebra
Swix
Swift Matrix Library
Stars: ✭ 581 (+265.41%)
Mutual labels:  math, linear-algebra
Dominhhai.github.io
My Blog
Stars: ✭ 8 (-94.97%)
Mutual labels:  statistics, math
Notecalc3
NoteCalc is a handy calculator trying to bring the advantages of Soulver to the web.
Stars: ✭ 879 (+452.83%)
Mutual labels:  math, linear-algebra
Census Data Aggregator
Combine U.S. census data responsibly
Stars: ✭ 28 (-82.39%)
Mutual labels:  statistics, math
Ethzcheatsheets
Stars: ✭ 92 (-42.14%)
Mutual labels:  statistics, math
Fermat.js
Mathematics and statistics library for TypeScript.
Stars: ✭ 74 (-53.46%)
Mutual labels:  statistics, math
Hackermath
Introduction to Statistics and Basics of Mathematics for Data Science - The Hacker's Way
Stars: ✭ 1,380 (+767.92%)
Mutual labels:  statistics, linear-algebra
Librmath.js
Javascript Pure Implementation of Statistical R "core" numerical libRmath.so
Stars: ✭ 425 (+167.3%)
Mutual labels:  statistics, math
Armadillo Code
Armadillo: fast C++ library for linear algebra & scientific computing - http://arma.sourceforge.net
Stars: ✭ 388 (+144.03%)
Mutual labels:  statistics, linear-algebra
Smile
Statistical Machine Intelligence & Learning Engine
Stars: ✭ 5,412 (+3303.77%)
Mutual labels:  statistics, linear-algebra
Basic Mathematics For Machine Learning
The motive behind Creating this repo is to feel the fear of mathematics and do what ever you want to do in Machine Learning , Deep Learning and other fields of AI
Stars: ✭ 300 (+88.68%)
Mutual labels:  statistics, linear-algebra
Grassmann.jl
⟨Leibniz-Grassmann-Clifford⟩ differential geometric algebra / multivector simplicial complex
Stars: ✭ 289 (+81.76%)
Mutual labels:  math, linear-algebra
Mather
zzllrr mather(an offline tool for Math learning, education and research)小乐数学,离线可用的数学学习(自学或教学)、研究辅助工具。计划覆盖数学全部学科的解题、作图、演示、探索工具箱。目前是演示Demo版(抛转引玉),但已经支持数学公式编辑显示,部分作图功能,部分学科,如线性代数、离散数学的部分解题功能。最终目标是推动专业数学家、编程专家、教育工作者、科普工作者共同打造出更加专业级的Mather数学工具
Stars: ✭ 270 (+69.81%)
Mutual labels:  math, linear-algebra
Numphp
Mathematical PHP library for scientific computing
Stars: ✭ 120 (-24.53%)
Mutual labels:  math, linear-algebra
Ruby Statistics
Ruby gem for some statistical operations without any statistical language dependency
Stars: ✭ 67 (-57.86%)
Mutual labels:  statistics, math

Build Status

Numerix

A collection of useful mathematical functions in Elixir with a slant towards statistics, linear algebra and machine learning.

Installation

Add numerix to your list of dependencies in mix.exs:

  def deps do
    [{:numerix, "~> 0.6"}]
  end

Ensure numerix and its dependencies are started before your application:

  def application do
    [applications: [:numerix, :gen_stage, :flow]]
  end

Examples

Check out the tests for examples.

Documentation

Check out the API reference for the latest documentation.

Features

Tensor API

Numerix now includes a Tensor API that lets you implement complex math functions with little code, similar to what you get from numpy. And since Numerix is written in Elixir, it uses Flow to run independent pieces of computation in parallel to speed things up. Depending on the type of calculations you're doing, the bigger the data and the more cores you have, the faster it gets.

NOTE: Parallelization can only get you so far. In terms of raw speed, a pure Elixir solution will always be much slower compared to one that leverages low-level routines like BLAS or similar.

Statistics

  • Mean
  • Weighted mean
  • Median
  • Mode
  • Range
  • Variance
  • Population variance
  • Standard deviation
  • Population standard deviation
  • Moment
  • Kurtosis
  • Skewness
  • Covariance
  • Weighted covariance
  • Population covariance
  • Quantile
  • Percentile

Correlation functions

  • Pearson
  • Weighted Pearson

Distance functions

  • Mean squared error (MSE)
  • Root mean square error (RMSE)
  • Pearson
  • Minkowski
  • Euclidean
  • Manhattan
  • Jaccard

General math functions

  • nth root

Special functions

  • Logit
  • Logistic

Window functions

  • Gaussian

Linear algebra

  • Dot product
  • L1-norm
  • L2-norm
  • p-norm
  • Vector subtraction and multiplication

Linear regression

  • Least squares best fit
  • Prediction
  • R-squared

Kernel functions

  • RBF

Optimization

  • Genetic algorithms

Neural network activation functions

  • softmax
  • softplus
  • softsign
  • sigmoid
  • ReLU, leaky ReLU, ELU and SELU
  • tanh
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].