From 5e5e8101bf07e267aba53da8dbaf604f310d184a Mon Sep 17 00:00:00 2001 From: Julian Hinxlage Date: Fri, 3 May 2019 11:02:09 +0200 Subject: [PATCH] added ShoppingCart(wip) --- .gitignore | 3 ++- .../spm/baudas/analysis/ShoppingCart.java | 26 +++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 src/main/java/de/hsel/spm/baudas/analysis/ShoppingCart.java diff --git a/.gitignore b/.gitignore index f85356d..21399b0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.iml .idea -.project \ No newline at end of file +.project +target \ No newline at end of file diff --git a/src/main/java/de/hsel/spm/baudas/analysis/ShoppingCart.java b/src/main/java/de/hsel/spm/baudas/analysis/ShoppingCart.java new file mode 100644 index 0000000..f75c786 --- /dev/null +++ b/src/main/java/de/hsel/spm/baudas/analysis/ShoppingCart.java @@ -0,0 +1,26 @@ +package de.hsel.spm.baudas.analysis; + + +import org.jetbrains.annotations.Nullable; +import weka.core.Instances; + +import java.io.File; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class ShoppingCart implements Analysis>>{ + + + @Nullable + @Override + public Instances load(File file) { + return null; + } + + @Override + public Map> getResult() { + Map> result = new HashMap<>(); + return result; + } +}