docstr: Test base class initialization
  
  :return:
code: def test_init(self):
      """
      Test base class initialization
  
      :return:
      """
      self.dummy_clf = Dummy1()
      assert_equal(self.dummy_clf.contamination, 0.1)
  
      self.dummy_clf = Dummy1(contamination=0.2)
      assert_equal(self.dummy_clf.contamination, 0.2)
  
      with assert_raises(ValueError):
          Dummy1(contamination=0.51)
  
      with assert_raises(ValueError):
          Dummy1(contamination=0)
  
      with assert_raises(ValueError):
          Dummy1(contamination=-0.5)
  
imports: from __future__ import division
  from __future__ import print_function
  import os
  import sys
  import unittest
  import numpy
  from numpy.testing import assert_equal
  from numpy.testing import assert_raises
  from pyod.models.base import BaseDetector
  from pyod.utils.data import generate_data
label_desc: Use image node_id 2 for calling the TestBASE obj's underlying member method code with example usage: obj.test_init() without return types