Giter Club home page Giter Club logo

hop-mi's Introduction

Hop Machine Intelligence

The hop-mi project is a version of PMI (Plugin Machine Intelligence) for the Apache Hop platform. It (initially) provides access to supervised machine learning algorithms from various underlying "engines". Out of the box, hop-mi provides six engines: Weka, Python scikit-learn, R MLR, Spark MLlib, DL4j (deep learning) and KerasApplication (Keras zoo models backed by TensorFlow). The following learning schemes are supported, and are available in most of the engines: decision tree classifier, decision tree regressor, gradient boosted trees, linear regression, logistic regression, naive Bayes, naive Bayes multinomial, naive Bayes incremental, random forest classifier, random forest regressor, support vector classifier, support vector regressor, multi-layer perceptrons and deep learning networks. hop-mi/PMI is designed to be extensible via the addition of new engines and algorithms.

Building

The PMI Plugin is built with Maven.

$ git clone https://github.com/m-a-hall/hop-mi
$ cd hop-mi
$ mvn install

This will produce a plugin archive in target/hop-machine-intelligence-${project.revision}.zip. This archive can then be extracted into your Hop plugins/transforms directory.

Requirements

The Weka engine is bundled with hop-mi, so no further installation is required for this. The MLlib engine's requirements are taken care of automatically by a one-time download of a Weka Spark plugin. This download is done automatically (assuming there is an active internet connection) and will delay the startup of Hop while the download is occurring. The Python scikit-learn engine requires python to be installed on the machine that Hop will be executed on. Both python 2.7 and 3.x are supported. Within python, pandas, numpy, scipy and matplotlib are required. The Anaconda distribution of python is a simple way to get started (especially for Windows users) as it comes with hundreds of packages pre-installed. The python executable must be in the Hop user's PATH. The R MLR engine requires R to be installed and the rJava package installed within R. The R executable must be in the Hop user's path. Further R package requirements are detailed in the PMI installation documentation. The Keras engine depends on the Python engine and requires keras to be installed in python.

License

Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0. See LICENSE.txt for more information.

hop-mi's People

Contributors

bamaer avatar m-a-hall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hop-mi's Issues

Multiple build and startup issues in hop 2.1

Hi Mark.
The hop mattermost will give a view of the problem and some steps taken. Here is a summary of the issue(s) and steps taken so far.

  1. Build issue - Notification for info:
    Building from the cloned repo failed owing to a missing dependency on weka-stable-3.8.6.jar.
    Can be resolved manually by downloading from maven and adding.
    Bart Maer at hop expects to resolve by ensuring the jar is included in the build.
  2. Running Hop:
    Hop fails to start once the plugin has been added.
    a) First error is: NoClassDefFoundError: org/bounce/net/DefaultAuthenticator
    This is resolved by obtaining bounce-0.18.jar from https://mvnrepository.com/artifact/nz.ac.waikato.cms.weka.thirdparty/bounce/0.18 and adding to the lib folder.
    b) Next error is : ClassNotFound exception on 'no.uib.cipr.matrix.Matrix'
    This is resolved by obtaining mtj-0.9.13.jar from https://mvnrepository.com/artifact/mtj/mtj/0.9.13 and adding to lib folder.
    c) Next error is : NoClassDefFoundError: weka/gui/WekaFileChooser$FileChooserBookmarksPanel
    This remains unresolved.

hop install issue

Hi,

I followed your procedure and succeded in building the package
But Hop crashes at launch when the package is present

Error starting the Hop GUI:
java.lang.NoClassDefFoundError: no/uib/cipr/matrix/Matrix
no/uib/cipr/matrix/Matrix

Environnement
Macbook M2 Ventura 13.2.1.
OpenJDK Runtime Environment Microsoft-6841604 (build 17.0.5+8-LTS)
Hop 2.4 (but same issue with lower versions)

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.