parent 26cdbf3f84
commit 35e4d806db
  1. 1
      frontend/src/components/Main.vue
  2. 1
      frontend/src/components/Results.vue
  3. 17
      run.py

@ -709,7 +709,6 @@ export default Vue.extend({
EventBus.$on('OpenModal', data =>{ flagLocalSkip = false }) EventBus.$on('OpenModal', data =>{ flagLocalSkip = false })
for (i = 0; i < coll.length; i++) { for (i = 0; i < coll.length; i++) {
coll[i].addEventListener("click", function() { coll[i].addEventListener("click", function() {
console.log(flagLocalSkip)
if (flagLocalSkip) { if (flagLocalSkip) {
var content = document.getElementsByClassName("content") var content = document.getElementsByClassName("content")
var value = "370px" var value = "370px"

@ -83,7 +83,6 @@ export default {
} else { } else {
} }
console.log(this.valuesGlobal)
var toWhichTrans = this.historyKey var toWhichTrans = this.historyKey
var toWhichPosition = this.whereIsChange var toWhichPosition = this.whereIsChange
var counterSet = -1 var counterSet = -1

@ -536,8 +536,6 @@ def executeModel(exeCall, flagEx, nodeTransfName):
columnsNames = [] columnsNames = []
scores = [] scores = []
print(exeCall)
print(flagEx)
if (len(exeCall) == 0): if (len(exeCall) == 0):
if (flagEx == 3): if (flagEx == 3):
XDataStored = XData.copy() 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) 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 columnsNewGen = OrignList
print(columnsNewGen)
if (len(exeCall) != 0): if (len(exeCall) != 0):
if (flagEx == 1): if (flagEx == 1):
currentColumnsDeleted = [] currentColumnsDeleted = []
@ -688,10 +683,6 @@ def executeModel(exeCall, flagEx, nodeTransfName):
else: else:
columnsNames.append(splittedCol[0]+'_'+tran) columnsNames.append(splittedCol[0]+'_'+tran)
featureImportanceData = estimatorFeatureSelection(XDataNoRemoval, estimator) featureImportanceData = estimatorFeatureSelection(XDataNoRemoval, estimator)
print(XData)
print(XDataStored)
print(XDataStoredOriginal.columns)
print(XDataNoRemoval)
tracker = [] tracker = []
for value in columnsNewGen: for value in columnsNewGen:
@ -700,14 +691,6 @@ def executeModel(exeCall, flagEx, nodeTransfName):
tracker.append(value[1]) tracker.append(value[1])
else: else:
tracker.append(value[0]) 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) estimator.fit(XData, yData)
yPredict = estimator.predict(XData) yPredict = estimator.predict(XData)

Loading…
Cancel
Save