when i run this code
This question is not related to DGL. You may approach the scikit-learn community for the question.