fix typo
This commit is contained in:
@@ -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):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user