| Home | Trees | Indices | Help |
|---|
|
|
A few statistics of a random tensor (RT) are packed as a tuple.
This class represents the collection of some statistics of J RTs.
The class contains a few variables:
J: the number of RTs
shape: the shape represents of how the dimensions of an RT are organized
d: the number of dimensions of an RT
orders: an array of statistic orders
A: the numpy.array (tensor) representing the whole data
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Get the indices of the i-th type of statistics.
|
Get the tensor of statistics of the i-th type.
|
Get the class-conditional tensor of statistics of the ith-type.
|
Set the class-conditional tensor of statistics of the ith-type.
Input:
j: the index
i: the class
A: the class-conditional tensor of statistics of the i-th type
of shape shape^rank[i]
|
|
Flatten the shape of the RTs, then take only dimensions indexed in 'indices' and remove the remaining dimensions.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Feb 25 10:24:18 2008 | http://epydoc.sourceforge.net |