Top "Subsampling" questions

Scikit-learn balanced subsampling

I'm trying to create N balanced random subsamples of my large unbalanced dataset. Is there a way to do this …

python pandas scikit-learn subsampling
Subsample pandas dataframe

I have a DataFrame loaded from a .tsv file. I wanted to generate some exploratory plots. The problem is that …

python numpy pandas subsampling
YUV420 to RGB conversion

I converted an RGB matrix to YUV matrix using this formula: Y = (0.257 * R) + (0.504 * G) + (0.098 * B) + 16 Cr = V = (0.439 * R) - (0.368 * G) …

opencv rgb yuv image-conversion subsampling
Subsampling/averaging over a numpy array

I have a numpy array with floats. What I would like to have (if it is not already existing) is …

python arrays numpy subsampling
How to compress YUYV raw data to JPEG using libjpeg?

I'm looking for an example of how to save a YUYV format frame to a JPEG file using the libjpeg …

c++ c yuv libjpeg subsampling