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 })
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"

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

@ -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)

Loading…
Cancel
Save