Oct-13-2022, 08:29 PM
This is the code where it happens. I posted the error down below and it gives a hint as to where the error is.
What exactly am I looking for?
As I said it is in the first couple of lines. I just do not know what I am looking for.
I use black for code formatting, and it does not flag anything like this error when I run it.
Any help appreciated.
Respectfully,
LZ
cv=TimeSeriesSplit(gap=0, max_train_size=None, n_splits=5, test_size=None) estimator=XGBClassifier( base_score=None, booster=None, colsample_bylevel=None, colsample_bynode=None, colsaample_bytree=None, gamma=None, gpu_id=None, importnce_type="gain", interaction_constraints=None, learning_rate=None, max_delta_step=None, max_depth=None, min_child_weight=None, missing=nan, monotone_constraints=None, n_estimators=100, n_jobs=None, num_parallel_tree=None, random_state=None, reg_alpha == None, reg_lambda=None, scale_pos_weight=None, subsample=None, tree_method=None, validate_paramters=None, verbosity=None, )
Input In [1] ) ^ SyntaxError: positional argument follows keyword argumentI am guessing it tells us that the error is in the first few python lines I do not think that the number 1 surrounded by brackets means a lot. If I were to run the code again that one would probably change to two.
What exactly am I looking for?
As I said it is in the first couple of lines. I just do not know what I am looking for.
I use black for code formatting, and it does not flag anything like this error when I run it.
Any help appreciated.
Respectfully,
LZ