// 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;
                    break;
                case "11":
                    type = SolverType.L2R_L2LOSS_SVR;
                    break;
                case "12":
                    type = SolverType.L2R_L2LOSS_SVR_DUAL;
                    break;
                case "13":
                    type = SolverType.L2R_L1LOSS_SVR_DUAL;
                    break;
                default:
                    throw new IllegalArgumentException("An unknown solver was specified [" + algo
                            + "] which is unknown i.e. check parameter [-s] in your configuration");
                }

            }
        }

        if (type == null) {
            // parameter -s was not specified in the parameters so we set a default value
            type = SolverType.L2R_LR;
        }

        LogFactory.getLog(LiblinearUtils.class).info("Will use solver " + type.toString() + ")");
        return type;
    }

    public static double getParameterC(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;

                    break;
                case "11":
                    type = SolverType.L2R_L2LOSS_SVR;
                    break;
                case "12":
                    type = SolverType.L2R_L2LOSS_SVR_DUAL;
                    break;
                case "13":
                    type = SolverType.L2R_L1LOSS_SVR_DUAL;
                    break;
                default:
                    throw new IllegalArgumentException("An unknown solver was specified [" + algo
                            + "] which is unknown i.e. check parameter [-s] in your configuration");
                }

            }
        }

        if (type == null) {
            // parameter -s was not specified in the parameters so we set a default value
            type = SolverType.L2R_LR;
        }

        LogFactory.getLog(LiblinearUtils.class).info("Will use solver " + type.toString() + ")");
        return type;
    }

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