use my own function for cross validation scoring parameter sklearn code example
Example: how to import cross_validation from sklearn
from sklearn.model_selection import cross_validate
from sklearn.model_selection import cross_validate