fix typo
This commit is contained in:
parent
0b36c8295d
commit
e9bfc026b7
@ -92,7 +92,7 @@ class DMatrix:
|
|||||||
self.__set_float_info('label', label)
|
self.__set_float_info('label', label)
|
||||||
# set weight of each instances
|
# set weight of each instances
|
||||||
def set_weight(self, weight):
|
def set_weight(self, weight):
|
||||||
self.__set_float_info('weight', label)
|
self.__set_float_info('weight', weight)
|
||||||
# set initialized margin prediction
|
# set initialized margin prediction
|
||||||
def set_base_margin(self, margin):
|
def set_base_margin(self, margin):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user