-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparams.yaml
More file actions
41 lines (37 loc) · 821 Bytes
/
Copy pathparams.yaml
File metadata and controls
41 lines (37 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# XGBoost model parameters
xgboost:
learning_rate: 0.1
max_depth: 5
n_estimators: 100
subsample: 0.8
colsample_bytree: 0.8
objective: 'reg:squarederror'
random_state: 42
# Add tree_method parameter to avoid GPU-related errors
tree_method: 'hist'
# Disable GPU acceleration if causing issues
gpu_id: -1
# Random Forest model parameters
random_forest:
n_estimators: 100
max_depth: 10
min_samples_split: 2
min_samples_leaf: 1
random_state: 42
# Linear Regression model parameters
linear_regression:
fit_intercept: true
# normalize parameter is deprecated in newer scikit-learn versions
# normalize: false
# SVR model parameters
svr:
kernel: 'rbf'
C: 1.0
epsilon: 0.1
gamma: 'scale'
# KNN model parameters
knn:
n_neighbors: 5
weights: 'uniform'
algorithm: 'auto'
p: 2