Module Expr Str Assign NameStore ListLoad Str ImportFrom alias alias alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword Num Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad keyword Num Assign NameStore BinOpDiv Call NameLoad AttributeLoad NameLoad attr NameLoad BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore BinOpSub NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Num Assign NameStore BinOpDiv Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad keyword Num Return NameLoad decorator_list FunctionDef arguments args defaults body ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Call NameLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num Call NameLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assert CompareLt Call NameLoad BinOpSub NameLoad ListLoad Num Num Num BinOpMod Str Call NameLoad BinOpSub NameLoad ListLoad Num Num decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Mahalanobis distance calculator

Compute the
`Mahalanobis distance <https://en.wikipedia.org/wiki/Mahalanobis_distance>`_
between observations and a reference set.  The principle components of the
reference set define the basis of the space for the observations.  The simple
Euclidean distance is used within this space.
 N/A __all__ N/A mahalanobis numpy dot mean sum numpy.linalg svd mahalanobis N/A N/A Y X N/A N/A N/A 
    Returns the distances of the observations from a reference set.

    Observations are stored in rows *Y* and the reference set in *X*.
     N/A M N/A mean X axis 0 N/A Xc N/A X N/A mean X axis 0 N/A W N/A N/A dot N/A Xc T Xc N/A N/A N/A Xc shape N/A 0 1 N/A Yc N/A Y M N/A N/A u s vh N/A svd W 0 N/A SVinv N/A N/A N/A N/A vh T conj s N/A Uy N/A dot N/A N/A N/A u T conj N/A N/A N/A Yc T conj N/A b N/A dot SVinv Uy N/A D N/A sum N/A N/A Yc T b axis 0 N/A D N/A test N/A N/A N/A N/A numpy array numpy.linalg norm N/A d N/A mahalanobis N/A array N/A N/A 2 3 4 N/A 2 3 4 N/A array N/A N/A 1 0 0 N/A 2 1 0 N/A 1 1 0 N/A 2 0 1 N/A N/A N/A norm N/A d N/A 290.25 290.25 1e-12 N/A diff=%s N/A str N/A d N/A 290.25 290.25 N/A N/A N/A __name__ __main__ N/A N/A N/A test