Bengali
ভাষাসমূহ
English
Bengali
French
Hindi
Japanese
Korean
Russian
Spanish
Tamil
Turkish



VQR.score

VQR.score(X, y, sample_weight=None)

Returns a score of this model given samples and true values for the samples. In case of classification this should be mean accuracy, in case of regression the coefficient of determination \(R^2\) of the prediction.

প্যারামিটার:
  • X (ndarray) -- Test samples.

  • y (ndarray) -- True values for X.

  • sample_weight (ndarray | None) -- Sample weights. Default is None.

রিটার্নস:

a float score of the model.

রিটার্ন টাইপ:

float