com.etsy.conjecture.model.MIRAOptimizer Maven / Gradle / Ivy
package com.etsy.conjecture.model;
import com.etsy.conjecture.data.*;
/**
* MIRA takes care of the full update. This is basically just a passthrough to
* the MIRA getGradients.
*/
public class MIRAOptimizer extends SGDOptimizer {
@Override
public StringKeyedVector getUpdate(LabeledInstance instance) {
return model.getGradients(instance);
}
}