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

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

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

import com.expleague.ml.meta.FeatureMeta;

/**
 * User: solar
 * Date: 01.06.15
 * Time: 16:56
 */
public class FakeFeatureMeta implements FeatureMeta {
  protected final int id;
  private final ValueType type;

  public FakeFeatureMeta(int id, ValueType type) {
    this.id = id;
    this.type = type;
  }

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

  @Override
  public String description() {
    return "Unknown source of feature";
  }

  @Override
  public ValueType type() {
    return type;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy