ihodes / fancyimpute

Matrix completion using nuclear norm minimization (naive implementation of Candes & Recht 2008)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fancyimpute

Simple implementation of Exact Matrix Completion via Convex Optimization by Emmanuel Candes and Benjamin Recht using cvxpy.

Usage

from fancyimpute import ConvexSolver

solver = ConvexSolver(
    min_value=0.0,
    max_value=1.0,
    error_tolerance=0.0005)

# X_incomplete has missing data which is represented with NaN values
X_filled = solver.complete(X_incomplete)

About

Matrix completion using nuclear norm minimization (naive implementation of Candes & Recht 2008)

License:Apache License 2.0


Languages

Language:Python 100.0%