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

com.expleague.ml.meta.impl.fake.FakeTargetMeta Maven / Gradle / Ivy

package com.expleague.ml.meta.impl.fake;

import com.expleague.ml.meta.TargetMeta;
import com.expleague.ml.data.set.DataSet;

/**
 * User: qdeee
 * Date: 22.07.14
 */
public class FakeTargetMeta extends FakeFeatureMeta implements TargetMeta {
  public DataSet ds;

  public FakeTargetMeta(final DataSet ds, final ValueType valueType) {
    super(-1, valueType);
    this.ds = ds;
  }

  public FakeTargetMeta(final ValueType valueType, int id) {
    super(id, valueType);
  }

  @Override
  public DataSet associated() {
    return ds;
  }

  @Override
  public String id() {
    return "Fake target #" + id;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy