Skip to content

Commit

Permalink
Adding the enhancement feature referring to honeynet#15.
Browse files Browse the repository at this point in the history
If user only wants textual output as mentioned by So-Cool in enhancement issue honeynet#15.
  • Loading branch information
greninja authored Dec 8, 2016
1 parent 80148b4 commit 06be8b1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions modules/processing/cuckooml.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,18 @@
from lib.cuckoo.common.constants import CUCKOO_ROOT
from math import log

if Config("cuckooml").cuckooml.plotting:
try:
import matplotlib.pyplot as plt
import seaborn as sns
except ImportError, e:
print >> sys.stderr, "Some error while importing plotting libraries"
print >> sys.stderr, e


try:
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import seaborn as sns
from hdbscan import HDBSCAN
from sklearn import metrics
from sklearn.cluster import DBSCAN
Expand Down

0 comments on commit 06be8b1

Please sign in to comment.