From 35e4d806dbd32bcebfd28fe734d0c72db53a548c Mon Sep 17 00:00:00 2001 From: Angelos Chatzimparmpas Date: Mon, 25 Jan 2021 13:58:59 +0100 Subject: [PATCH] new --- frontend/src/components/Main.vue | 1 - frontend/src/components/Results.vue | 1 - run.py | 17 ----------------- 3 files changed, 19 deletions(-) diff --git a/frontend/src/components/Main.vue b/frontend/src/components/Main.vue index d0ac0cd..ca26e97 100755 --- a/frontend/src/components/Main.vue +++ b/frontend/src/components/Main.vue @@ -709,7 +709,6 @@ export default Vue.extend({ EventBus.$on('OpenModal', data =>{ flagLocalSkip = false }) for (i = 0; i < coll.length; i++) { coll[i].addEventListener("click", function() { - console.log(flagLocalSkip) if (flagLocalSkip) { var content = document.getElementsByClassName("content") var value = "370px" diff --git a/frontend/src/components/Results.vue b/frontend/src/components/Results.vue index e315774..4a9b7b1 100644 --- a/frontend/src/components/Results.vue +++ b/frontend/src/components/Results.vue @@ -83,7 +83,6 @@ export default { } else { } - console.log(this.valuesGlobal) var toWhichTrans = this.historyKey var toWhichPosition = this.whereIsChange var counterSet = -1 diff --git a/run.py b/run.py index 7f66fa5..5df6387 100644 --- a/run.py +++ b/run.py @@ -536,8 +536,6 @@ def executeModel(exeCall, flagEx, nodeTransfName): columnsNames = [] scores = [] - print(exeCall) - print(flagEx) if (len(exeCall) == 0): if (flagEx == 3): XDataStored = XData.copy() @@ -577,9 +575,6 @@ def executeModel(exeCall, flagEx, nodeTransfName): estimator = XGBClassifier(n_estimators=int(bestParams.get('n_estimators')), eta=bestParams.get('eta'), max_depth=int(bestParams.get('max_depth')), probability=True, random_state=RANDOM_SEED, silent=True, verbosity = 0, use_label_encoder=False) columnsNewGen = OrignList - - print(columnsNewGen) - if (len(exeCall) != 0): if (flagEx == 1): currentColumnsDeleted = [] @@ -688,10 +683,6 @@ def executeModel(exeCall, flagEx, nodeTransfName): else: columnsNames.append(splittedCol[0]+'_'+tran) featureImportanceData = estimatorFeatureSelection(XDataNoRemoval, estimator) - print(XData) - print(XDataStored) - print(XDataStoredOriginal.columns) - print(XDataNoRemoval) tracker = [] for value in columnsNewGen: @@ -700,14 +691,6 @@ def executeModel(exeCall, flagEx, nodeTransfName): tracker.append(value[1]) else: tracker.append(value[0]) - print(tracker) - - # for ind, col in enumerate(tracker): - # for value in XDataStoredOriginal.columns.values.tolist(): - # if col in value: - # tracker[ind] = tracker[ind].replace(col, value) - # else: - # break estimator.fit(XData, yData) yPredict = estimator.predict(XData)