French
Langues
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese
Shortcuts



SamplingNeuralNetwork.probabilities

SamplingNeuralNetwork.probabilities(input_data, weights)[source]

Histogram (as dict) of the samples from the network. Returns an array of samples. Format depends on the set interpret function.

Paramètres
  • input_data (Union[List[float], ndarray, float]) – input data of the shape (num_inputs). In case of a single scalar input it is directly cast to and interpreted like a one-element array.

  • weights (Union[List[float], ndarray, float]) – trainable weights of the shape (num_weights). In case of a single scalar weight it is directly cast to and interpreted like a one-element array.

Type renvoyé

Union[ndarray, SparseArray]

Renvoie

The sample histogram of the neural network.