// Path: src/main/java/de/tudarmstadt/ukp/dkpro/tc/ml/liblinear/LiblinearTestTask.java
// public static final double EPISILON_DEFAULT = 0.01;
// 
// Path: src/main/java/de/tudarmstadt/ukp/dkpro/tc/ml/liblinear/LiblinearTestTask.java
// public static final double PARAM_C_DEFAULT = 1.0;


import de.bwaldvogel.liblinear.SolverType;
import org.apache.commons.logging.LogFactory;
import java.io.*;
import java.util.*;
import java.util.Map.Entry;
import static de.tudarmstadt.ukp.dkpro.tc.ml.liblinear.LiblinearTestTask.EPISILON_DEFAULT;
import static de.tudarmstadt.ukp.dkpro.tc.ml.liblinear.LiblinearTestTask.PARAM_C_DEFAULT;
        for (int i = 0; i < classificationArguments.size(); i++) {
            String e = classificationArguments.get(i);
            if (e.equals("-c")) {
                if (i + 1 >= classificationArguments.size()) {
                    throw new IllegalArgumentException(
                            "Found parameter [-c] but no value was specified");
                }

                Double value;
                try {
                    value = Double.valueOf(classificationArguments.get(i + 1));
                }
                catch (NumberFormatException ex) {
                    throw new IllegalArgumentException(
                            "The value of parameter -c has to be a floating point value but was ["
                                    + classificationArguments.get(i + 1) + "]",
                            ex);
                }
                return value;
            }
        }

        LogFactory.getLog(LiblinearUtils.class)
                .info("Parameter c is set to default value [" + PARAM_C_DEFAULT + "]");
        return PARAM_C_DEFAULT;
    }

    public static double getParameterEpsilon(List<String> classificationArguments)
    {
        if (classificationArguments == null) {
// Path: src/main/java/de/tudarmstadt/ukp/dkpro/tc/ml/liblinear/LiblinearTestTask.java
// public static final double EPISILON_DEFAULT = 0.01;
// 
// Path: src/main/java/de/tudarmstadt/ukp/dkpro/tc/ml/liblinear/LiblinearTestTask.java
// public static final double PARAM_C_DEFAULT = 1.0;


// Path: src/main/java/de/tudarmstadt/ukp/dkpro/tc/ml/liblinear/LiblinearUtils.java
import de.bwaldvogel.liblinear.SolverType;
import org.apache.commons.logging.LogFactory;
import java.io.*;
import java.util.*;
import java.util.Map.Entry;
import static de.tudarmstadt.ukp.dkpro.tc.ml.liblinear.LiblinearTestTask.EPISILON_DEFAULT;
import static de.tudarmstadt.ukp.dkpro.tc.ml.liblinear.LiblinearTestTask.PARAM_C_DEFAULT;

        for (int i = 0; i < classificationArguments.size(); i++) {
            String e = classificationArguments.get(i);
            if (e.equals("-c")) {
                if (i + 1 >= classificationArguments.size()) {
                    throw new IllegalArgumentException(
                            "Found parameter [-c] but no value was specified");
                }

                Double value;
                try {
                    value = Double.valueOf(classificationArguments.get(i + 1));
                }
                catch (NumberFormatException ex) {
                    throw new IllegalArgumentException(
                            "The value of parameter -c has to be a floating point value but was ["
                                    + classificationArguments.get(i + 1) + "]",
                            ex);
                }
                return value;
            }
        }

        LogFactory.getLog(LiblinearUtils.class)
                .info("Parameter c is set to default value [" + PARAM_C_DEFAULT + "]");
        return PARAM_C_DEFAULT;
    }

    public static double getParameterEpsilon(List<String> classificationArguments)
    {
        if (classificationArguments == null) {
            return EPISILON_DEFAULT;