PPCA

class mastml.data_cleaning.PPCA[source]

Bases: object

Class to perform probabilistic principal component analysis (PPCA) to fill in missing data.

This PPCA routine was taken directly from https://github.com/allentran/pca-magic. Due to import errors, for ease of use we have elected to copy the module here. This github repo was last accessed on 8/27/18. The code comprising the PPCA class below was not developed by and is not owned by the University of Wisconsin-Madison MAST-ML development team.

Methods Summary

fit(data[, d, tol, min_obs, verbose])

load(fpath)

save(fpath)

transform([data])

Methods Documentation

fit(data, d=None, tol=0.0001, min_obs=10, verbose=False)[source]
load(fpath)[source]
save(fpath)[source]
transform(data=None)[source]