MVN

nz.ac.waikato.cms.weka : gridSearch

Maven & Gradle

Oct 30, 2018

gridSearch · Performs a grid search of parameter pairs for the a classifier (Y-axis, default is LinearRegression with the "Ridge" parameter) and the PLSFilter (X-axis, "# of Components") and chooses the best pair found for the actual predicting. The initial grid is worked on with 2-fold CV to determine the values of the parameter pairs for the selected type of evaluation (e.g., accuracy). The best point in the grid is then taken and a 10-fold CV is performed with the adjacent parameter pairs. If a better pair is found, then this will act as new center and another 10-fold CV will be performed (kind of hill-climbing). This process is repeated until no better pair is found or the best pair is on the border of the grid. In case the best pair is on the border, one can let GridSearch automatically extend the grid and continue the search. Check out the properties 'gridIsExtendable' (option '-extend-grid') and 'maxGridExtensions' (option '-max-grid-extensions <num>'). GridSearch can handle doubles, integers (values are just cast to int) and booleans (0 is false, otherwise true). float, char and long are supported as well. The best filter/classifier setup can be accessed after the buildClassifier call via the getBestFilter/getBestClassifier methods. Note on the implementation: after the data has been passed through the filter, a default NumericCleaner filter is applied to the data in order to avoid numbers that are getting too small and might produce NaNs in other schemes.

<dependency>
    <groupId>nz.ac.waikato.cms.weka</groupId>
    <artifactId>gridSearch</artifactId>
    <version>1.0.12</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of nz.ac.waikato.cms.weka : gridSearch to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.0.12

All Versions

Choose a version of nz.ac.waikato.cms.weka : gridSearch to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.0.x
gridSearch-1.0.12
gridSearch-1.0.11
gridSearch-1.0.10
gridSearch-1.0.9
gridSearch-1.0.8
gridSearch-1.0.7
gridSearch-1.0.6
gridSearch-1.0.5
gridSearch-1.0.4

How to add a dependency to Maven

Add the following nz.ac.waikato.cms.weka : gridSearch maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>nz.ac.waikato.cms.weka</groupId>
    <artifactId>gridSearch</artifactId>
    <version>1.0.12</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following nz.ac.waikato.cms.weka : gridSearch gradle dependency to your build.gradle file:

implementation 'nz.ac.waikato.cms.weka:gridSearch:1.0.12'

Gradle Kotlin DSL: Add the following nz.ac.waikato.cms.weka : gridSearch gradle kotlin dependency to your build.gradle.kts file:

implementation("nz.ac.waikato.cms.weka:gridSearch:1.0.12")

How to add a dependency to SBT Scala

SBT Scala: Add the following nz.ac.waikato.cms.weka : gridSearch sbt scala dependency to your build.sbt file:

libraryDependencies += "nz.ac.waikato.cms.weka" % "gridSearch" % "1.0.12"