mirror of
https://github.com/Doctorado-ML/Stree_datasets.git
synced 2025-08-16 07:56:07 +00:00
Add tunnel to mysql
add any kernel to script generator
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from experimentation.Sets import Datasets
|
||||
from experimentation.Utils import TextColor, MySQL
|
||||
from experimentation.Utils import TextColor
|
||||
from experimentation.Database import MySQL
|
||||
|
||||
models = ["stree", "odte", "adaBoost", "bagging"]
|
||||
title = "Best model results"
|
||||
@@ -78,7 +79,8 @@ def report_footer(agg):
|
||||
)
|
||||
|
||||
|
||||
database = MySQL.get_connection()
|
||||
dbh = MySQL()
|
||||
database = dbh.get_connection()
|
||||
dt = Datasets(False, False, "tanveer")
|
||||
fields = ("Dataset", "Reference")
|
||||
for model in models:
|
||||
@@ -131,3 +133,4 @@ for dataset in dt:
|
||||
)
|
||||
print(report_line(line))
|
||||
report_footer(agg)
|
||||
dbh.close()
|
||||
|
Reference in New Issue
Block a user