john-waczak / MLJGaussianProcesses.jl

Gaussian Processes for MLJ
MIT License
1 stars 1 forks source link

Add preprocessing layer to mimic Dr. Lary's GPR code #2

Open john-waczak opened 1 year ago

john-waczak commented 1 year ago

Dr. Lary wrote code to reduce the size of the training set as a pre-processing step before Gaussian Process Regression/Classification. Since the exact algorithm is $\mathcal{O}(n^3)$, things get slow very fast. To deal with this, the idea was to first compute 100 quantiles for each feature as well as the target. Finally, we sample the rows of our dataset and return a subset with a more uniform distribution .