Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.96 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.96 KB

kernelized KISSME

Universitat Politècnica de Catalunya (UPC), Barcelona Faculty of Informatics (FIB) Kernel-based Machine Learning and Multivariate Modelling (MAI-KMLMM) Final Course Project

Description

This is an implementation for the kernelized KISSME algorithm in R as described by Nguyen and De Baets (2019) for large-scale metric learning from equivalence constraints. The algorithm has been applied to the VIPeR dataset by Gray et al., a python implementation of the LOMO feature extractor (original paper by Liao et al.) is used for preprocessing the data. For more detail, please have a look into the final report.

How to

  1. The run.py script in the LOMO Feature Extractor folder needs to be run in order to create the features
  2. Start the test.R in the main directory. It automatically
    • imports the feature vectors
    • splits up the dataset into training, validation and test
    • genereates must-link and cannot-link constraints on the training dataset
    • evaluates different hyperparameter combinations (kernel methods and epsilon) on the validation set
    • returns test scores
    • visualizes the results

Reference