Skip to content

Grid Search Node

AI/ML/Tuning

Grid Search

Exhaustive search over parameter combinations with cross-validation. Returns the best parameters found.

ai_ml_tuning_grid_searchml
Inputs4
Outputs3
Security exposure4/10
Packageml

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
4/10Medium
PrivacyPotential sensitivity of processed data.
4/10Medium
PerformanceRuntime or resource pressure.
6/10Medium
GovernancePolicy, audit, or compliance impact.
3/10High
ReliabilityOperational stability considerations.
2/10High
CostExternal or compute cost impact.
5/10Medium

Input Pins

4

Input

Execution
exec_in

Execution trigger

Model Type

String
model_type

Type of model to tune

Default DecisionTree
NaiveBayesDecisionTree

CV Folds

Integer
cv_folds

Number of cross-validation folds

Default 5

Data Source

String
source

Database containing the training data

Default Database
Database

Output Pins

3

Done

Execution
exec_out

Activated when grid search completes

Results

Struct
results

Complete grid search results with all combinations tried

GridSearchResultGridSearchResult7 fields
resultsArray<GridSearchEntry>required

All parameter combinations tried

itemsGridSearchEntryarray item

Results from a single parameter combination in grid search

paramsobjectrequired

Parameter values used for this run

mean_scorenumber:doublerequired

Mean CV score across all folds

format double
std_scorenumber:doublerequired

Standard deviation of CV scores

format double
fold_scoresArray<number:double>required

Individual fold scores

itemsnumber:doublearray item
format double
train_time_secsnumber:doublerequired

Training time in seconds

format double
best_indexinteger:uintrequired

Index of best result

format uintmin 0
best_paramsobjectrequired

Best parameters found

best_scorenumber:doublerequired

Best mean CV score

format double
total_time_secsnumber:doublerequired

Total search time in seconds

format double
n_combinationsinteger:uintrequired

Number of parameter combinations tried

format uintmin 0
n_foldsinteger:uintrequired

Number of CV folds used

format uintmin 0

Best Model

Struct
best_model

The model trained with the best parameters on full training data

NodeMLModelNodeMLModel1 fields
model_refstringrequired
Schema enforced

Node Info

Internal name
ai_ml_tuning_grid_search
Category
AI/ML/Tuning