android-matrix-algorithms

Java library of precomputed matrix algorithms aimed to be used on Android.

Лицензия

Лицензия

Группа

Группа

nz.ac.waikato.cms.adams
Идентификатор

Идентификатор

android-matrix-algorithms
Последняя версия

Последняя версия

0.0.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

android-matrix-algorithms
Java library of precomputed matrix algorithms aimed to be used on Android.
Организация-разработчик

Организация-разработчик

University of Waikato, Hamilton, NZ
Система контроля версий

Система контроля версий

https://github.com/waikato-datamining/android-matrix-algorithms

Скачать android-matrix-algorithms

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/nz.ac.waikato.cms.adams/android-matrix-algorithms/ -->
<dependency>
    <groupId>nz.ac.waikato.cms.adams</groupId>
    <artifactId>android-matrix-algorithms</artifactId>
    <version>0.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/nz.ac.waikato.cms.adams/android-matrix-algorithms/
implementation 'nz.ac.waikato.cms.adams:android-matrix-algorithms:0.0.3'
// https://jarcasting.com/artifacts/nz.ac.waikato.cms.adams/android-matrix-algorithms/
implementation ("nz.ac.waikato.cms.adams:android-matrix-algorithms:0.0.3")
'nz.ac.waikato.cms.adams:android-matrix-algorithms:jar:0.0.3'
<dependency org="nz.ac.waikato.cms.adams" name="android-matrix-algorithms" rev="0.0.3">
  <artifact name="android-matrix-algorithms" type="jar" />
</dependency>
@Grapes(
@Grab(group='nz.ac.waikato.cms.adams', module='android-matrix-algorithms', version='0.0.3')
)
libraryDependencies += "nz.ac.waikato.cms.adams" % "android-matrix-algorithms" % "0.0.3"
[nz.ac.waikato.cms.adams/android-matrix-algorithms "0.0.3"]

Зависимости

test (3)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-engine jar 5.3.0
org.junit.platform : junit-platform-launcher jar 1.3.0
org.junit.platform : junit-platform-runner jar 1.3.0

Модули Проекта

Данный проект не имеет модулей.

android-matrix-algorithms

Java library to be used on Android, simply applies precomputed matrices etc. as generated by py-matrix-algorithms.

Algorithms

Usage

Use the following code to load the preprocessing map from the serialized file map.bin (with one and two named pipelines) and apply it to data (processing the same data with both pre-processing pipelines):

import com.github.waikatodatamining.androidmatrix.PreprocessingMap;
import java.io.FileInputStream;
import java.utils.Map;
import java.utils.HashMap;
 
PreprocessingMap preprocessingMap;
preprocessingMap = new PreprocessingMap(new FileInputStream("map.bin"));

double[] data = ...;
Map<String, double[]> map = new HashMap<>();
map.put("one", data);
map.put("two", data);

// for ordered application
double[][] processedOrdered = preprocessingMap.applyOrdered(data);
 
// for mapped application
Map<String, double[]> processedMapped = preprocessingMap.apply(data);

Android

See the following StackOverflow post for how to wrap a java.nio.ByteBuffer in a java.io.InputStream:

https://stackoverflow.com/a/6603018/4698227

nz.ac.waikato.cms.adams

University of Waikato - Data Mining

Commercial data mining activity at the University of Waikato.

Версии библиотеки

Версия
0.0.3
0.0.2
0.0.1