All Projects → eltonlaw → Impyute

eltonlaw / Impyute

Licence: mit
Data imputations library to preprocess datasets with missing data

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Impyute

MACSio
A Multi-purpose, Application-Centric, Scalable I/O Proxy Application
Stars: ✭ 28 (-89.74%)
Mutual labels:  scientific-computing
combi
Pythonic package for combinatorics
Stars: ✭ 51 (-81.32%)
Mutual labels:  scientific-computing
BoneJ2
Plugins for bone image analysis
Stars: ✭ 17 (-93.77%)
Mutual labels:  scientific-computing
PyMFEM
Python wrapper for MFEM
Stars: ✭ 91 (-66.67%)
Mutual labels:  scientific-computing
vtkbool
A new boolean operations filter for VTK
Stars: ✭ 77 (-71.79%)
Mutual labels:  scientific-computing
reprozip-examples
Examples and demos for ReproZip
Stars: ✭ 13 (-95.24%)
Mutual labels:  scientific-computing
python-data-science-project
Template repository for a Python 3-based (data) science project
Stars: ✭ 54 (-80.22%)
Mutual labels:  scientific-computing
qrefine
Quantum Refinement Module
Stars: ✭ 13 (-95.24%)
Mutual labels:  scientific-computing
bitpit
Open source library for scientific HPC
Stars: ✭ 80 (-70.7%)
Mutual labels:  scientific-computing
dishtiny
DISHTINY: A Platform for Studying Open-Ended Evolutionary Transitions in Individuality
Stars: ✭ 25 (-90.84%)
Mutual labels:  scientific-computing
monolish
monolish: MONOlithic LInear equation Solvers for Highly-parallel architecture
Stars: ✭ 166 (-39.19%)
Mutual labels:  scientific-computing
scim
[wip]Speech recognition tool-box written by Nim. Based on Arraymancer.
Stars: ✭ 17 (-93.77%)
Mutual labels:  scientific-computing
dfogn
DFO-GN: Derivative-Free Optimization using Gauss-Newton
Stars: ✭ 20 (-92.67%)
Mutual labels:  scientific-computing
Cpp-Examples
Numerical C++ examples.
Stars: ✭ 38 (-86.08%)
Mutual labels:  scientific-computing
SA-PINNs
Implementation of the paper "Self-Adaptive Physics-Informed Neural Networks using a Soft Attention Mechanism" [AAAI-MLPS 2021]
Stars: ✭ 32 (-88.28%)
Mutual labels:  scientific-computing
ls1-mardyn
ls1-MarDyn is a massively parallel Molecular Dynamics (MD) code for large systems. Its main target is the simulation of thermodynamics and nanofluidics. ls1-MarDyn is designed with a focus on performance and easy extensibility.
Stars: ✭ 17 (-93.77%)
Mutual labels:  scientific-computing
Python-Matematica
Explorando aspectos fundamentais da matemática com Python e Jupyter
Stars: ✭ 41 (-84.98%)
Mutual labels:  scientific-computing
Blitz
Blitz++ Multi-Dimensional Array Library for C++
Stars: ✭ 257 (-5.86%)
Mutual labels:  scientific-computing
qnm
Python package for computing Kerr quasinormal mode frequencies, separation constants, and spherical-spheroidal mixing coefficients
Stars: ✭ 21 (-92.31%)
Mutual labels:  scientific-computing
owl ode
Owl's Differential Equation Solvers
Stars: ✭ 24 (-91.21%)
Mutual labels:  scientific-computing

.. image:: https://travis-ci.org/eltonlaw/impyute.svg?branch=master :target: https://travis-ci.org/eltonlaw/impyute

.. image:: https://img.shields.io/pypi/v/impyute.svg :target: https://pypi.python.org/pypi/impyute

Impyute

Impyute is a library of missing data imputation algorithms. This library was designed to be super lightweight, here's a sneak peak at what impyute can do.

.. code-block:: python

>>> n = 5
>>> arr = np.random.uniform(high=6, size=(n, n))
>>> for _ in range(3):
>>>    arr[np.random.randint(n), np.random.randint(n)] = np.nan
>>> print(arr)
array([[0.25288643, 1.8149261 , 4.79943748, 0.54464834, np.nan],
       [4.44798362, 0.93518716, 3.24430922, 2.50915032, 5.75956805],
       [0.79802036, np.nan, 0.51729349, 5.06533123, 3.70669172],
       [1.30848217, 2.08386584, 2.29894541, np.nan, 3.38661392],
       [2.70989501, 3.13116687, 0.25851597, 4.24064355, 1.99607231]])
>>> import impyute as impy
>>> print(impy.mean(arr))
array([[0.25288643, 1.8149261 , 4.79943748, 0.54464834, 3.7122365],
       [4.44798362, 0.93518716, 3.24430922, 2.50915032, 5.75956805],
       [0.79802036, 1.99128649, 0.51729349, 5.06533123, 3.70669172],
       [1.30848217, 2.08386584, 2.29894541, 3.08994336, 3.38661392],
       [2.70989501, 3.13116687, 0.25851597, 4.24064355, 1.99607231]])

Feature Support

  • Imputation of Cross Sectional Data
    • K-Nearest Neighbours
    • Multivariate Imputation by Chained Equations
    • Expectation Maximization
    • Mean Imputation
    • Mode Imputation
    • Median Imputation
    • Random Imputation
  • Imputation of Time Series Data
    • Last Observation Carried Forward
    • Moving Window
    • Autoregressive Integrated Moving Average (WIP)
  • Diagnostic Tools
    • Loggers
    • Distribution of Null Values
    • Comparison of imputations
    • Little's MCAR Test (WIP)

Versions

Currently tested on 2.7, 3.4, 3.5, 3.6 and 3.7

Installation

To install impyute, run the following:

.. code-block:: bash

$ pip install impyute

Or to get the most current version:

.. code-block:: bash

$ git clone https://github.com/eltonlaw/impyute
$ cd impyute
$ python setup.py install

Documentation

Documentation is available here: http://impyute.readthedocs.io/

How to Contribute

Check out CONTRIBUTING_

.. _CONTRIBUTING: https://github.com/eltonlaw/impyute/blob/master/CONTRIBUTING.md

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].