Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3863809

Browse files
Merge branch 'jukkakarvanen-unit_tests'
Refactoring for unit tests merged. Includes removal of duplicate code and simplified topology unit test instead of integration test using embedded kafka broker
2 parents d5780e2 + 36cf291 commit 3863809

File tree

27 files changed

+532
-431
lines changed

27 files changed

+532
-431
lines changed

‎dl4j-deeplearning-iris/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ This is a famous example: Prediction of the Iris Species - implemented with many
1111
**Machine Learning Technology**
1212
* [DeepLearning4J](https://deeplearning4j.org)
1313
* Pretty simple example to demo how to build, save and load neural networks with DL4J. [MultiLayerNetwork](https://deeplearning4j.org/doc/org/deeplearning4j/nn/multilayer/MultiLayerNetwork.html) and [INDArray](http://nd4j.org/doc/org/nd4j/linalg/api/ndarray/INDArray.html) are the key APIs to look at if you want to understand the details.
14-
* The model is created via [DeepLearning4J_CSV_Model.java](https://github.com/kaiwaehner/kafka-streams-machine-learning-examples/blob/master/src/main/java/com/github/megachucky/kafka/streams/machinelearning/models/DeepLearning4J_CSV_Model.java) and stored in the resources: [DL4J_Iris_Model.zip](https://github.com/kaiwaehner/kafka-streams-machine-learning-examples/tree/master/src/main/resources/generatedModels/DL4J). No need to re-train, just for reference. Kudos to Adam Gibson who created this example as part of the DL4J project.
14+
* The model is created via [DeepLearning4J_CSV_Model.java](src/main/java/com/github/megachucky/kafka/streams/machinelearning/models/DeepLearning4J_CSV_Model.java) and stored in the resources: [DL4J_Iris_Model.zip](https://github.com/kaiwaehner/kafka-streams-machine-learning-examples/tree/master/src/main/resources/generatedModels/DL4J). No need to re-train, just for reference. Kudos to Adam Gibson who created this example as part of the DL4J project.
1515

1616
**Unit Test**
17-
[Kafka_Streams_MachineLearning_DL4J_DeepLearning_Iris_IntegrationTest.java](https://github.com/kaiwaehner/kafka-streams-machine-learning-examples/blob/master/src/test/java/com/github/megachucky/kafka/streams/machinelearning/test/Kafka_Streams_MachineLearning_DL4J_DeepLearning_Iris_IntegrationTest.java)
17+
[Kafka_Streams_MachineLearning_DL4J_DeepLearning_Iris_IntegrationTest.java](src/test/java/com/github/megachucky/kafka/streams/machinelearning/test/Kafka_Streams_MachineLearning_DL4J_DeepLearning_Iris_IntegrationTest.java)
1818

‎h20-gbm/readme.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

‎h20-gbm/src/main/java/com/github/megachucky/kafka/streams/machinelearning/Kafka_Streams_MachineLearning_H2O_DeepLearning_Example.java

Lines changed: 0 additions & 143 deletions
This file was deleted.

‎h20-gbm/src/main/java/com/github/megachucky/kafka/streams/machinelearning/Kafka_Streams_MachineLearning_H2O_GBM_Example.java

Lines changed: 0 additions & 142 deletions
This file was deleted.

‎h20-gbm/pom.xml renamed to ‎h2o-gbm/pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<groupId>com.github.kaiwaehner.kafka.streams.machinelearning</groupId>
7-
<artifactId>h20-gbm</artifactId>
7+
<artifactId>h2o-gbm</artifactId>
88
<version>CP51_AK21</version>
99

1010
<repositories>
@@ -44,6 +44,13 @@
4444

4545

4646
<!-- Test dependencies -->
47+
<dependency>
48+
<groupId>org.apache.kafka</groupId>
49+
<artifactId>kafka-streams-test-utils</artifactId>
50+
<version>${kafka.version}</version>
51+
<scope>test</scope>
52+
</dependency>
53+
4754
<dependency>
4855
<groupId>junit</groupId>
4956
<artifactId>junit</artifactId>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /