dataset generation script
This commit is contained in:
parent
7ae68cc30e
commit
9768f1546b
@ -1,6 +1,10 @@
|
|||||||
#!/usr/bin/python2
|
#!/usr/bin/python2
|
||||||
|
|
||||||
import joblib
|
import joblib
|
||||||
|
import pandas as pd
|
||||||
|
|
||||||
datafile = joblib.load("/mnt/projekte/pmlcluster/cisco/trainData/multipleTaskLearning/currentData.joblib")
|
datafile = joblib.load("/mnt/projekte/pmlcluster/cisco/trainData/multipleTaskLearning/currentData.joblib")
|
||||||
user_flows = datafile["data"]
|
user_flows = datafile["data"]
|
||||||
|
df = pd.concat(user_flows)
|
||||||
|
df.reset_index(inplace=True)
|
||||||
|
df.to_csv("/tmp/rk/full_dataset.csv.gz", compression="gzip")
|
||||||
|
Loading…
Reference in New Issue
Block a user