tablesaw

Loaders/savers and filters based on the Tablesaw dataframe library (https://jtablesaw.github.io/tablesaw/).

License

License

Categories

Categories

Tablesaw Business Logic Libraries Science
GroupId

GroupId

com.github.fracpete
ArtifactId

ArtifactId

tablesaw-weka-package
Last Version

Last Version

2021.3.3
Release Date

Release Date

Type

Type

jar
Description

Description

tablesaw
Loaders/savers and filters based on the Tablesaw dataframe library (https://jtablesaw.github.io/tablesaw/).
Project URL

Project URL

https://github.com/fracpete/tablesaw-weka-package
Source Code Management

Source Code Management

https://github.com/fracpete/tablesaw-weka-package

Download tablesaw-weka-package

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.fracpete/tablesaw-weka-package/ -->
<dependency>
    <groupId>com.github.fracpete</groupId>
    <artifactId>tablesaw-weka-package</artifactId>
    <version>2021.3.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.fracpete/tablesaw-weka-package/
implementation 'com.github.fracpete:tablesaw-weka-package:2021.3.3'
// https://jarcasting.com/artifacts/com.github.fracpete/tablesaw-weka-package/
implementation ("com.github.fracpete:tablesaw-weka-package:2021.3.3")
'com.github.fracpete:tablesaw-weka-package:jar:2021.3.3'
<dependency org="com.github.fracpete" name="tablesaw-weka-package" rev="2021.3.3">
  <artifact name="tablesaw-weka-package" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.fracpete', module='tablesaw-weka-package', version='2021.3.3')
)
libraryDependencies += "com.github.fracpete" % "tablesaw-weka-package" % "2021.3.3"
[com.github.fracpete/tablesaw-weka-package "2021.3.3"]

Dependencies

compile (2)

Group / Artifact Type Version
nz.ac.waikato.cms.weka : weka-dev jar [3.7.11,)
tech.tablesaw : tablesaw-core jar 0.38.1

test (2)

Group / Artifact Type Version
nz.ac.waikato.cms.weka : weka-dev test-jar [3.7.11,)
junit : junit jar 4.13.1

Project Modules

There are no modules declared in this project.

tablesaw-weka-package

Weka package that takes advantage of the tablesaw Java dataframe and visualization library.

Tablesaw dependencies

Use bootstrapp to download all the dependencies (adjust version of tablesaw if necessary):

java -jar bootstrapp-0.1.5-spring-boot.jar --dependency tech.tablesaw:tablesaw-core:0.38.1 --output_dir ./out

Copy all jars from ./out/target/lib into the projects lib directory.

Plugins

Input/Output

  • Loader

    • TableSawCsvLoader - for loading CSV files
  • Saver

    • TableSawCsvSaver - for saving CSV files

Filter

The weka.filters.Tablesaw filter allows you to apply the following table operations:

  • CountBy - generates a table with two columns, the first with the name of the categorical value and the second with the count for that value.
  • First - returns the first X number of rows
  • Last - returns the last X number of rows
  • MissingValueCounts - counts the missing values (outputs single row)
  • MultiTableOperation - applies all specified table operations sequentially
  • PassThrough - dummy, just passes through the data
  • RemoveColumns - removes specified columns
  • RetainColumns - keeps specified columns
  • RemoveColumnsWithMissingValues - drops columns with missing values
  • RemoveRowsWithMissingValues - drops rows with missing values
  • SampleN - generates a sub-sample of size N
  • SampleSplit - splits data into two and returns either first or second part
  • SampleX - generates a sub-sample of proportion X (0.0-1.0)
  • Sort - sorts the data using specified columns (ascending or descending)
  • Summary - generates a summary for the specified column

Note: Since the data needs to be converted into Tablesaw's dataframe format, the data may still get modified (e.g., change in attribute types), despite the PassThrough operation being selected.

Releases

Maven

Use the following dependency in your pom.xml:

    <dependency>
      <groupId>com.github.fracpete</groupId>
      <artifactId>tablesaw-weka-package</artifactId>
      <version>2021.3.3</version>
      <type>jar</type>
      <exclusions>
        <exclusion>
          <groupId>nz.ac.waikato.cms.weka</groupId>
          <artifactId>weka-dev</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

How to use packages

For more information on how to install the package, see:

https://waikato.github.io/weka-wiki/packages/manager/

Versions

Version
2021.3.3