Coder Social home page Coder Social logo

khiva-java's Introduction

Khiva-Java

License: MPL 2.0

Build Linux and Mac OS Build Windows Code Coverage
Build Status Build status Coverage Status

README

This is the Khiva binding for Java, it allows the usage of Khiva library from Java.

License

This project is licensed under MPL-v2.

Quick Summary

This Java package called 'khiva' provides all the functionalities of the Khiva library for time series analytics.

Requirements

  • Arrayfire
  • Khiva library
  • JAVA SDK 1.8
  • Maven

Set up

Just execute the next command in the root directory of the project:

mvn install

Executing the tests:

Execute the next command in the root directory of the project:

 mvn test

Note: The tests are executed automatically when the package is installed.

Documentation

This Java package follows the standard way of writing documentation of Java code using Javadoc.

In order to generate the documentation, execute the next command in the root directory of the project:

mvn javadoc:javadoc

Contributing

The rules to contribute to this project are described here

Powered by Shapelets

khiva-java's People

Contributors

avilchess avatar dcuestam avatar jrecuerda avatar lsybarguen avatar raulbocanegra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

santiagozky

khiva-java's Issues

Change load khiva library

Currently, we are loading khiva from a given folder, thus our users are not free to install our library in the folder they want/can. This limitation is given by the following snippet of code in Library.java file.

    static {
        OS = System.getProperty("os.name").toLowerCase();
        if (OS.indexOf("mac") >= 0) {
            System.load("/usr/local/lib/libkhiva_jni.dylib");
        } else if (OS.indexOf("win") >= 0) {
            System.load("C:\\Program Files\\Khiva\\v0\\lib\\khiva_jni.dll");
        } else if (OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0 || OS.indexOf("aix") > 0) {
            System.load("/usr/local/lib/libkhiva_jni.so");
        }
    }

To overcome this limitation, we should remove the full path, and let Java look for the library in System.getProperty("java.library.path"). By default, it points to LD_LIBRARY_PATH.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.