To be able to use Deep Netts in your Maven based Java project, add the following dependency into dependencies section of your pom.xml file:
<dependency>
<groupId>com.deepnetts</groupId>
<artifactId>deepnetts-core</artifactId>
<version>1.13.2</version>
</dependency>
Learn more about Deep Netts Community adition at https://www.deepnetts.com/blog/deep-netts-community-edition
If you need
- faster training
- higher accuracy
- beginner-friendly development tools
- advanced algorithms and features
- professional technical support
take a look at Deep Netts Professional Edition
- Java 8 or above
- Maven 3.5 or above
Install the core libraries (jar files) into your local maven repository, while in the repo root folder, run the below:
mvn clean install
To run the examples in the deepnetts-examples
folder, run the below:
cd deepnetts
mvn exec:java -Dexec.mainClass=deepnetts.examples.[Class name]
or
cd deepnetts
java -cp target/deepnetts-examples-1.12.jar deepnetts.examples.[Class name]
Here is a list of Class name
s to select from:
BostonHouses
Cifar10
ConvolutionalImageClassifier
CrediCardFraud
DukeDetector
IrisFlowersClassifier
LinearRegression
LoadAndUseTrainedNetwork
LogisticRegression
Mnist
QuickStart
RandomLinearDataGenerator
SpamClassifier
SweedenAutoInsurance
XorExample
For example enter the deepnetts-examples
folder:
cd deepnetts-examples
and then run one of these:
mvn exec:java -Dexec.mainClass=deepnetts.examples.IrisFlowersClassifier
or
java -cp target/deepnetts-examples-1.12.jar deepnetts.examples.IrisFlowersClassifier
will result in this IrisFlowersClassifier console output. You can find the console outputs of the other examples here.