ARTMAP_Add_New_Category: ARTMAP_Add_New_Category

Description Usage Arguments Details Value

View source: R/ARTMAP_Add_New_Category.r

Description

Adds a new category to the given weight matrix and map field.

Usage

1
ARTMAP_Add_New_Category(weight, mapField)

Arguments

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.

Details

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.

Value

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.


gbaquer3/fuzzyARTMAP documentation built on Aug. 2, 2020, 6:33 p.m.