All Projects → zygmuntz → metric-learning-for-regression

zygmuntz / metric-learning-for-regression

Licence: MPL-2.0 license
Applying metric learning to kin8nm

Programming Languages

matlab
3953 projects
python
139335 projects - #7 most used programming language
r
7636 projects
Rebol
56 projects

Metric Learning for Kernel Regression

See http://fastml.com/good-representations-distance-metric-learning-and-supervised-dimensionality-reduction for description.

Download and install MLKR (Matlab; it doesn't seem to work in Octave).

Edit paths in the following scripts and run them:

mlkr_rescale_separately.m
rf_mlkr_rescaled_separately.r

mlkr_rescale_together.m
rf_mlkr_rescaled_together.r

The first script in each pair transforms the dataset, the second trains a random forest. The rescaling method doesn't seem to matter with this dataset, meaning you can just run one pair.

rf.py is Python code for random forest and pca_rf.py is the same thing with PCA thrown in, for comparison.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].