This commit is contained in:
antinucleon 2014-08-18 13:38:09 -06:00
parent 0b36c8295d
commit e9bfc026b7

View File

@ -92,7 +92,7 @@ class DMatrix:
self.__set_float_info('label', label)
# set weight of each instances
def set_weight(self, weight):
self.__set_float_info('weight', label)
self.__set_float_info('weight', weight)
# set initialized margin prediction
def set_base_margin(self, margin):
"""