class_docstr: Measures top1 accuracy for multi-class classification when target is one-hot encoded.
  
  >>> acc = CategoricalAccuracy()
  creating: createZooKerasCategoricalAccuracy
class_docstr_tok: ["Measures","top1","accuracy","for","multi-class","classification","when","target","is","one-hot","encoded",".",">",">",">","acc","=","CategoricalAccuracy","(",")","creating",":","createZooKerasCategoricalAccuracy"]
code: def __init__(self, bigdl_type="float"):
      super(CategoricalAccuracy, self).__init__(None, bigdl_type)
  
imports: from bigdl.util.common import *
  from zoo.pipeline.api.keras.base import ZooKerasCreator
label_desc: Use image node_id 1 to create a new CategoricalAccuracy object from inherited base classes: ZooKerasCreator, JavaValue with example: obj = CategoricalAccuracy(bigdl_type)