Deborah.Sarah.NameParser
Deborah.Sarah.NameParser.build_trace_name — Methodbuild_trace_name(
ensemble::String,
io_decode::String,
X_str::Vector{String},
Y_str::String,
N_lb_str::String,
N_tr_str::String,
model_tag::String
) -> StringConstruct a standardized trace name used for storing results or logs.
Arguments
ensemble: Ensemble name.io_decode: Encoded or decoded input/output string.X_str: Vector of input feature names.Y_str: Output target name.N_lb_str:LBset size string.N_tr_str:TRset size string.model_tag: Short model tag (e.g.,"GBM","RID").
Returns
- Formatted name string of the form:
ensemble_io_decode_MODEL_LBP_x_TRP_y
Deborah.Sarah.NameParser.make_X_Y — Methodmake_X_Y(
X_list::Vector{String},
Y::String
) -> StringGenerate a string representation of input → output relation, useful for filenames.
Arguments
X_list: Vector of input feature names.Y: Output target name.
Returns
- If single input equals output, returns
Y. - Else, returns
"X1_X2_Y"format string.
Deborah.Sarah.NameParser.model_suffix — Functionmodel_suffix(
model_name::String,
jobid::Union{Nothing, String}=nothing
) -> StringReturn a short uppercase string used as a model tag in filenames or logs.
Arguments
model_name: Full model name identifier (e.g.,"LightGBM","Ridge").jobid::Union{Nothing, String}: Optional job identifier for structured logging.
Returns
- Short tag (e.g.,
"GBM","RID","LAS").
Supported Models
"LightGBM"→"GBM""Lasso"→"LAS""Ridge"→"RID""Baseline"→"BAS""Random"→"RGM""MiddleGBM"→"MDG""PyGBM"→"PYG"
Throws
ArgumentErrorif themodel_nameis not recognized.