βœ… Quiz M7.05ΒΆ

Question

What is the default score in scikit-learn when using a regressor?

  • a) \(R^2\)

  • b) mean absolute error

  • c) median absolute error

Question

When errors are used in the function cross_validate in scikit-learn, one should:

  • a) pass a callable that reverse the sign of the error

  • b) create a scorer using make_scorer and pass the parameter greater_is_better=False

  • c) pass a string with the name of the metric which should start with the prefix neg_