Browse Source

update drop learn set

Jérôme BUISINE 1 year ago
parent
commit
2bcbe3880e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      optimization/ILSPopSurrogate.py

+ 1 - 1
optimization/ILSPopSurrogate.py

@@ -135,7 +135,7 @@ class ILSPopSurrogate(Algorithm):
 
         # shuffle dataset
         learn = reduced_df.iloc[0:ntraining_samples]
-        test = reduced_df.drop[learn.index]
+        test = reduced_df.drop(learn.index)
 
         print("Start fitting again the surrogate model")
         print(f'Using {ntraining_samples} samples of {max_samples} for train dataset')