class_docstr: Test the OHE vector encoder 
docstr: Tests edge cause where target weights have a 0 weight which is unacceptable for downstream processing (inverse weights will 1/0)
docstr_tok: ["Tests","edge","cause","where","target","weights","have","a","0","weight","which","is","unacceptable","for","downstream","processing","(","inverse","weights","will","1\/0",")"]
code: def test_distro_zero(self):
      """
      Tests edge cause where target weights have a 0 weight which is unacceptable for downstream processing (inverse weights will 1/0)
      """  # noqa
      data = ["apple", "apple", "orange", "apple", "apple", "orange"]
  
      # Arbitrary weights (ex: number of examples)
      tweights = {"apple": 100, "orange": 0}
  
      enc = BinaryEncoder(is_target=True, target_weights=tweights)
  
      # Check if 0-weight class is rejected
      self.assertRaises(ValueError, enc.prepare, data)
  
file_path: lightwood/tests/unit_tests/encoder/categorical/test_binary.py
imports: import unittest
  import torch
  from torch import Tensor
  import numpy
  from lightwood.encoder.categorical.binary import BinaryEncoder
  from lightwood.helpers.constants import _UNCOMMON_WORD
label_desc: Use image node_id 6 for calling the TestBinary obj's underlying member method code with example usage: obj.test_distro_zero() without return types