Description Usage Arguments Value
View source: R/PSB_functions.R
This function transforms a single lbp matrix into 1 line in the feature matrix
1 | lbp2Feature(lbp, n.feature = 68, label = 1, name = attr(lbp, "name"))
|
lbp |
lbp matrix generated by lbp3D function |
n.feature |
Suggested number of features in the feature matrix. Will be fixed to multiples of 68 (a result of lbp3D algorithm). |
label |
Label of the sample features. Should be entered as 0 or 1 for non-factorized models. |
name |
Name of the feature line. Will be used as rowname in feature matrix. Default is file name. |
A line of lbp features of the given lbp matrix, with the label as the last element. Also shows the lbp histogram.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.