This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
import xmlrunner | |
import pandas as pd | |
import numpy as np | |
import threading | |
import functools | |
from scipy.io.arff import loadarff | |
from sklearn.preprocessing import LabelEncoder | |
from sklearn.tree import DecisionTreeClassifier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package de.ugoe.cs.smartshark.util; | |
import java.util.List; | |
import org.apache.spark.sql.DataFrame; | |
/** | |
* <p> | |
* Interface for data loader for SmartSHARK from the underlying DB. All jobs should use this interface, instead | |
* of directly accessing the database, even if the endpoint and credentials of the DB are known. | |
* </p> |