API
Training
MLJModelInterface.fit Function
julia
function fit(
config::NeuroTypes,
dtrain;
feature_names,
target_name,
weight_name=nothing,
offset_name=nothing,
deval=nothing,
print_every_n=9999,
verbosity=1,
)
Training function of NeuroTreeModels' internal API.
Arguments
config::NeuroTypes
dtrain
: Must be<:AbstractDataFrame
Keyword arguments
feature_names
: Required kwarg, aVector{Symbol}
orVector{String}
of the feature names.target_name
Required kwarg, aSymbol
orString
indicating the name of the target variable.weight_name=nothing
offset_name=nothing
deval=nothing
Data for tracking evaluation metric and perform early stopping.print_every_n=9999
verbosity=1
Inference
NeuroTreeModels.infer Function
infer(m::NeuroTreeModel, data)
Return the inference of a NeuroTreeModel
over data
, where data
is AbstractDataFrame
.