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

net.seninp.jmotif.sax.SAXCliParameters Maven / Gradle / Ivy

package net.seninp.jmotif.sax;

import java.util.ArrayList;
import java.util.List;
import com.beust.jcommander.Parameter;

/**
 * Parameters accepted by the bitmap printer and their default values.
 * 
 * @author psenin
 * 
 */
public class SAXCliParameters {

  // general setup
  //
  @Parameter
  public List parameters = new ArrayList();

  // dataset
  //
  @Parameter(names = { "--data", "-d" }, description = "The input file name")
  public static String IN_FILE;

  // output
  //
  @Parameter(names = { "--out", "-o" }, description = "The output file name")
  public static String OUT_FILE;

  // discretization parameters
  //
  @Parameter(names = { "--window_size", "-w" }, description = "SAX sliding window size")
  public static int SAX_WINDOW_SIZE = 30;

  @Parameter(names = { "--word_size", "-p" }, description = "SAX PAA word size")
  public static int SAX_PAA_SIZE = 4;

  @Parameter(names = { "--alphabet_size", "-a" }, description = "SAX alphabet size")
  public static int SAX_ALPHABET_SIZE = 3;

  @Parameter(names = "--strategy", description = "SAX numerosity reduction strategy")
  public static NumerosityReductionStrategy SAX_NR_STRATEGY = NumerosityReductionStrategy.EXACT;

  @Parameter(names = "--threshold", description = "SAX normalization threshold")
  public static double SAX_NORM_THRESHOLD = 0.01;

  // threading parameter
  //
  @Parameter(names = { "--threads", "-t" }, description = "number of threads to use")
  public static int THREADS_NUM = 1;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy