scipy.maxentropy.maxentutils.sparsefeatures

scipy.maxentropy.maxentutils.sparsefeatures(f, x, format='csc_matrix')

Returns an Mx1 sparse matrix of non-zero evaluations of the scalar functions f_1,...,f_m in the list f at the point x.

If format=’ll_mat’, the PySparse module (or a symlink to it) must be available in the Python site-packages/ directory. A trimmed-down version, patched for NumPy compatibility, is available in the SciPy sandbox/pysparse directory.

Previous topic

scipy.maxentropy.maxentutils.sparsefeaturematrix

Next topic

Miscellaneous routines (scipy.misc)

This Page