Skip to main content
. 2024 Nov 20;17(22):5675. doi: 10.3390/ma17225675

Table 7.

Classification results for LSR model type using RandomSearchCV and GridSearchCV.

Search Method Class Precision Recall F1-Score
RandomSearchCV 0 0.94 0.94 0.99
1 0.98 0.91 0.94
2 0.93 0.97 0.90
Test Accuracy 0.95
Best Accuracy 0.88
Best Hyperparameters {’svm__kernel’: ’linear’,
’svm__C’: 1, ’rf__n_estimators’:
200, ’rf__max_depth’: None,
’final_estimator__n_estimators’: 100,
’final_estimator__max_depth’: 10}
GridSearchCV 0 0.91 0.90 0.95
1 0.98 0.98 0.93
2 0.93 0.93 0.93
Test Accuracy 0.94
Best Accuracy 0.90
Best Hyperparameters {’final_estimator__max_depth’: 10,
’final_estimator__n_estimators’:
200, ’rf__max_depth’: 20,
’rf__n_estimators’: 200, ’svm__C’:
1, ’svm__kernel’: ’linear’}