All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.expleague.ml.models.multilabel.MultiLabelModel Maven / Gradle / Ivy

There is a newer version: 1.4.9
Show newest version
package com.expleague.ml.models.multilabel;

import com.expleague.commons.math.Trans;
import com.expleague.commons.math.vectors.Mx;
import com.expleague.commons.math.vectors.Vec;

/**
 * User: qdeee
 * Date: 22.03.15
 */
public interface MultiLabelModel extends Trans {
  Vec predictLabels(Vec x);

  Mx predictLabelsAll(Mx mx);

  abstract class Stub extends Trans.Stub implements MultiLabelModel {
    @Override
    public Vec trans(final Vec x) {
      return predictLabels(x);
    }

    @Override
    public Mx predictLabelsAll(final Mx mx) {
      return transAll(mx);
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy