gaussianKdePredict#

swordfish.function.gaussianKdePredict()#

Predict the probability density of the input data based on the model generated by gaussianKde.

参数:
  • model (Constant) -- A dictionary indicating the model generated by gaussianKde.

  • X (Constant) -- A numeric vector, matrix, tuple, or table indicating the data to be predicted. Its dimensions must be the same as those of the dataset used in gaussianKde.

返回:

A floating-point vector of the same size as the number of rows in X, indicating the prediction result of each data point in X.

返回类型:

Constant