FIX utils.multiclass.type_of_target with numpy 1.24 dev (#24044)
FIX utils.multiclass.type_of_target with numpy 1.24 dev (#24044)

Co-authored-by: Julien Jerphanion <46f1a0bd5592a2f9244ca321b129902a06b53e03@jjerphan.xyz>
ivannz/scikit-learn,TomDLT/scikit-learn,scikit-learn/scikit-learn,manhhomienbienthuy/scikit-learn,espg/scikit-learn,ivannz/scikit-learn,AlexandreAbraham/scikit-learn,vinayak-mehta/scikit-learn,espg/scikit-learn,espg/scikit-learn,vinayak-mehta/scikit-learn,manhhomienbienthuy/scikit-learn,lesteve/scikit-learn,ivannz/scikit-learn,vinayak-mehta/scikit-learn,manhhomienbienthuy/scikit-learn,TomDLT/scikit-learn,lesteve/scikit-learn,anntzer/scikit-learn,TomDLT/scikit-learn,scikit-learn/scikit-learn,scikit-learn/scikit-learn,scikit-learn/scikit-learn,manhhomienbienthuy/scikit-learn,AlexandreAbraham/scikit-learn,espg/scikit-learn,vinayak-mehta/scikit-learn,AlexandreAbraham/scikit-learn,AlexandreAbraham/scikit-learn,betatim/scikit-learn,lesteve/scikit-learn,TomDLT/scikit-learn,betatim/scikit-learn,betatim/scikit-learn,anntzer/scikit-learn,ivannz/scikit-learn,betatim/scikit-learn,lesteve/scikit-learn,anntzer/scikit-learn,anntzer/scikit-learn