def test_iht_init():
 ratio = 'auto'
 iht = InstanceHardnessThreshold(ESTIMATOR, ratio=ratio, random_state=RND_SEED)
 assert_equal(iht.ratio, ratio)
 assert_equal(iht.random_state, RND_SEED)

def test_iht_init ( ) : ratio = 'auto' iht = InstanceHardnessThreshold ( ESTIMATOR , ratio = ratio , random_state = RND_SEED ) assert_equal ( iht . ratio , ratio ) assert_equal ( iht . random_state , RND_SEED )
test the initialisation of the object .