samplesPerFeature: C implementation of samplesPerFeature.
samplesPerFeature(X,samples=0,lowerB=0.0,upperB=1000.0)sL (List with one element per feature: each element is a vector
of samples where the feature is not zero.)
nsL Vector of feature length containing number of samples
having a non-zero feature value.
Supplies the samples for which a feature is not zero.
The data matrix is directly scanned by the C-code and must be in sparse matrix format.
Sparse matrix format: *first line: numer of rows (the samples). *second line: number of columns (the features). *following lines: for each sample (rows) three lines with
I) number of nonzero row elements
II) indices of the nonzero row elements (ATTENTION: starts with 0!!)
III) values of the nonzero row elements (ATTENTION: floats with decimal point like 1.0 !!)
The code is implemented in C.
fabia,
fabias,
fabiap,
spfabia,
readSamplesSpfabia,
samplesPerFeature,
readSpfabiaResult,
fabi,
fabiasp,
mfsc,
nmfdiv,
nmfeu,
nmfsc,
extractPlot,
extractBic,
plotBicluster,
Factorization,
projFuncPos,
projFunc,
estimateMode,
makeFabiaData,
makeFabiaDataBlocks,
makeFabiaDataPos,
makeFabiaDataBlocksPos,
matrixImagePlot,
fabiaDemo,
fabiaVersion
#---------------
# TEST
#---------------
Run the code above in your browser using DataLab