MVN

nz.ac.waikato.cms.weka : nifiLoader

Maven & Gradle

Dec 09, 2015

niftiLoader · Package for loading a directory containing MRI data in NIfTI format. The directory to be loaded must contain as many subdirectories as there are classes of MRI data. Each subdirectory name will be used as the class label for the corresponding .nii files in that subdirectory. (This is the same strategy as the one used by WEKA's TextDirectoryLoader.) Currently, the package only reads volume information for the first time slot from each .nii file. The readDoubleVol(short ttt) method from the Nifti1Dataset class (http://niftilib.sourceforge.net/java_api_html/Nifti1Dataset.html) is used to read the data for each volume into a sparse WEKA instance (with ttt=0). For an LxMxN volume (the dimensions must be the same for each .nii file in the directory!), the order of values in the generated instance is [(z_1, y_1, x_1), ..., (z_1, y_1, x_L), (z_1, y_2, x_1), ..., (z_1, y_M, x_L), (z_2, y_1, x_1), ..., (z_N, y_M, x_L)]. If the volume is an image, then only x and y coordinates are used.

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

Latest Version

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

  • Latest Stable: 1.0.1

All Versions

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

Version Vulnerabilities Updated
1.0.x
nifiLoader-1.0.1
nifiLoader-1.0.0

How to add a dependency to Maven

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

<dependency>
    <groupId>nz.ac.waikato.cms.weka</groupId>
    <artifactId>nifiLoader</artifactId>
    <version>1.0.1</version>
</dependency>

How to add a dependency to Gradle

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

implementation 'nz.ac.waikato.cms.weka:nifiLoader:1.0.1'

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

implementation("nz.ac.waikato.cms.weka:nifiLoader:1.0.1")

How to add a dependency to SBT Scala

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

libraryDependencies += "nz.ac.waikato.cms.weka" % "nifiLoader" % "1.0.1"