Is your feature request related to a problem? Please describe.
In MLlib\loss_func.py, the docstrings of the loss functions require correction, particularly in the dimensions of the input vector and the output data types in some of the loss functions and their derivatives.
Describe the solution you'd like
The docstrings need to be corrected according to the valid data types of parameters and output data types, and appropriate dimensions of the input vector (if required).
Is your feature request related to a problem? Please describe. In MLlib\loss_func.py, the docstrings of the loss functions require correction, particularly in the dimensions of the input vector and the output data types in some of the loss functions and their derivatives.
Describe the solution you'd like The docstrings need to be corrected according to the valid data types of parameters and output data types, and appropriate dimensions of the input vector (if required).