Skip to content

sp1r0s/java-ai-examples

Repository files navigation

Artificial Intelligence examples in Java

Examples

  • A Machine Learning regression example using Weka.
  • A Machine Learning classification example using Apache Spark.
  • A Natural Language Processing example using the Stanford NLP.
  • A Computer Vision example using OpenCV(*).

How to build the project

gradlew build

How to run the examples

Each example has a main method you can use to run it.

(*): The computer vision example requires the native opencv library. Windows users do not need to build the native library it is pre-build and in the lib directory. For other OSes it's required to build OpenCV from sources. The jar included in the project was built from the 3.0.0 opencv version.

To build from sources:

  1. Follow the instructions here: Introduction to Java Development (Ignore the git checkout 2.4)
  2. Move the native library to the "lib/opencv" directory

About

A.I. examples in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages