class_docstr: Measures top1 accuracy for binary classification with zero-based index.
  
  >>> acc = BinaryAccuracy()
  creating: createZooKerasBinaryAccuracy
class_docstr_tok: ["Measures","top1","accuracy","for","binary","classification","with","zero-based","index",".",">",">",">","acc","=","BinaryAccuracy","(",")","creating",":","createZooKerasBinaryAccuracy"]
code: def __init__(self, bigdl_type="float"):
      super(BinaryAccuracy, self).__init__(None, bigdl_type)
  
imports: from bigdl.dllib.utils.common import *
  from bigdl.dllib.keras.base import ZooKerasCreator
label_desc: Use image node_id 1 to create a new BinaryAccuracy object from inherited base classes: ZooKerasCreator, JavaValue with example: obj = BinaryAccuracy(bigdl_type)