PRTools Contents

PRTools User Guide

remclass

REMCLASS

Fixed mapping to remove small or empty classes

    B = REMCLASS(A,N)
    B = A*REMCLASS([],N)
    B = A*REMCLASS(N)

Input
 A Dataset
 N Integer, maximum class size to be removed (optional; default 0)

Output
 B Dataset

Description

Classes having N objects or less are removed. The corresponding objects  are made unlabeled. Use SELDAT to remove unlabeled objects.  In case of soft labeled objects the number of objects in A is compared  with N. If it is smaller all object labels are removed (NaN).

A*REMCLASS removes empty classes.

See also

datasets, seldat, gendat,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.