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



PegasosQSVC.decision_function

PegasosQSVC.decision_function(X)[source]

Evaluate the decision function for the samples in X.

প্যারামিটার:

X (ndarray) -- Features. For a callable kernel (an instance of BaseKernel) the shape should be (m_samples, n_features), for a precomputed kernel the shape should be (m_samples, n_samples). Where m denotes the set to be predicted and n the size of the training set. In that case, the kernel values in X have to be calculated with respect to the elements of the set to be predicted and the training set.

রিটার্নস:

An array of the shape (n_samples), the decision function of the sample.

রেইজেস:
রিটার্ন টাইপ:

ndarray