Questions tagged [density-estimation]

The construction of an estimate, based on observed data, of an unobservable underlying probability density function (pdf).

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Evaluating models which classify on rolling time intervals

TLDR: I am trying to predict the probability of an incident occurring within a specific time interval. I have data from multiple years, and I know the exact time of year that incidents occur. I have ...
zsakib_'s user avatar
0 votes
0 answers
32 views

What does KDE plot tell to me?

What the KDE plot tells to me? How can I evaluate if my model is good by looking at the graph? For example I have this KDE plot of the residuals(it's x_pred-y_pred) of a machine learning evaluation of ...
SimoneA's user avatar
  • 41
0 votes
1 answer
52 views

Connecting timeseries quantities to CDF

In the following paper, ...
Omar Shehab's user avatar
0 votes
0 answers
59 views

Function for KDE-style distribution generation for sampling

I have some points in pytorch and I would like to sample from a distribution that resembles these points. I noticed that the seaborn kde plots seem to draw out/define a distribution graphically and I ...
nighthawk's user avatar
0 votes
2 answers
233 views

logistic regression or density estimation for binary dependent variable and binary (or categorical) features [closed]

I have a binary dependent variable $t$ and categorical features. We can even simplify to binary features since I can one-hot encode the categorical variables. In practice the one-hot encoding induces ...
andins's user avatar
  • 56
1 vote
0 answers
100 views

Why exactly KNN is outperforming Parzen by a huge margin in classificaton task

I'm trying to implement a Naive Bayes classifier, which uses either of hypercubic Parzen window or KNN to estimate a density function. The data I'm using is Fashion MNIST. The steps I take are that ...
Farhood ET's user avatar
1 vote
0 answers
28 views

MLE for Poisson conditioned on multivariate Gaussian?

I am writing some Python code to fit 2D Gaussians to fluorescent emitters on a dark background to determine the subpixel-resolution (x, y) position of the fluorescent emitter. The crude, pixel-...
olympiader's user avatar
1 vote
0 answers
64 views

How to evaluate KDE against histogram?

I am currently testing some approaches for density estimation, and I think the basic approach of histograms may not be the best option to me and KDE is certainly a good alternative to go. While ago I ...
Adelson Araújo's user avatar
1 vote
0 answers
24 views

Learn smoothly varying mean and variance of a variable over a 2d domain

For a problem which I am working on at the moment, I'm interested in learning how the mean and variance of some response variable y changes with two independent ...
A. White's user avatar
3 votes
3 answers
8k views

How to convert regression into classification?

So I have a regression problem with bunch of features X, and labels in the amount (price $). How can I convert it to classification problem? I have read about convert label from continuous to ...
Nauman Akram's user avatar
0 votes
1 answer
185 views

how can i interpret kernel density plots from classification?

all, i have a classification problem where i am predicting likelihood of client defaulting on loan. i plotted the predicted probabilities from my model, and then plotted against the label '1' for ...
Maths12's user avatar
  • 496
1 vote
0 answers
39 views

Test independence based on Kernel Density Estimation

I am working on a problem where I have a dataset of $X$ is dataset with $(X, Y, T, K)$ four attributes, I'd like to test if $P(X, Y, T)P(K) = P(X, Y, T, K)$, that is if $X, Y, T$ is independent of $K$....
Dogemore's user avatar
  • 121
2 votes
1 answer
5k views

Simple example of Parzen window (kernel density estimation)

I am confused about the Parzen Window question. Suppose we have two training data points located at 0.5 and 0.7, and we use 0.3 as its rectangle window width. How do we estimate its probability ...
rj487's user avatar
  • 195