Initialization

Parameters

The ClassMapAgent is initialized with one argument:
ClassMapAgent(name_map)
name_map
Dict
required
Specifies a dictionary mapping from original class names to new class names.Each original class should be present within the classes list.

Example

Here’s an example name map:
name_map = {
    "dog": "canine",
    "cat": "feline",
    "bird": "avian"
}
ClassMapAgent(name_map=name_map)