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

com.expleague.ml.cli.builders.data.impl.PoolReaderFeatureTxt Maven / Gradle / Ivy

package com.expleague.ml.cli.builders.data.impl;

import com.expleague.ml.cli.builders.data.PoolReader;
import com.expleague.ml.data.tools.DataTools;
import com.expleague.ml.data.tools.Pool;

import java.io.IOException;

/**
 * Created by noxoomo on 15/10/2017.
 */
public class PoolReaderFeatureTxt implements PoolReader {
  @Override
  public Pool read(String path) {
    try {
      return DataTools.loadFromFeaturesTxt(path);
    }
    catch (IOException e) {
      throw new RuntimeException(e);
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy