Description Usage Arguments Details Value
View source: R/ARTMAP_Add_New_Category.r
Adds a new category to the given weight matrix and map field.
1 | ARTMAP_Add_New_Category(weight, mapField)
|
weight |
Matrix of size NumFeatures-by-NumCategories which holds the weights of the network. |
mapField |
Matrix of size 1-by-NumCategories which holds the associations between categories and classes. |
This function returns a new weight matrix which is identical to the given weight matrix except that it contains one more category which is initialized to all 1's. It also returns a new map field matrix which is identical to the given map field matrix except that it contains one more element initialized to 0.
Pair of values [RESIZEDWEIGHT, RESIZEDMAPFIELD]. The RESIZEDWEIGHT is a matrix of size NumFeatures-by-NumCategories+1 which holds the weights of the old matrix plus a new category of all values of 1. The RESIZEDMAPFIELD is a matrix of size 1-by-NumCategories+1 which holds the given map field matrix except that it contains one more element initialized to 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.