The sklearn.neighbors.KernelDensity.score_samples method in Python computes the log probability density estimates for a given set of samples. It returns the log likelihood of each sample under the current density model. This is useful for evaluating the relative likelihood of different samples in a dataset based on the learned density model.
Python KernelDensity.score_samples - 60 examples found. These are the top rated real world Python examples of sklearn.neighbors.KernelDensity.score_samples extracted from open source projects. You can rate examples to help us improve the quality of examples.