Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR combines various changes to enable better user customisation of the MODNet pipeline. The workflow is high-level by design. Nevertheless, it might be useful to add custom parameters without breaking the current code.
This includes:
feature_ selection()
now enables this withignore_names
.FitGenetic
will proceed by using joint-learning when multiple targets are given in the MODData. This can now be avoided by usingignore_names
inFitGenetic()
.MODNetModel.fit()
can take optionalfit_params
that are passed through to Kerasmodel.fit()
.fit_params
can also be passed toFitGenetic.run()
MODNetModel.fit()
can take a custom loss function.FitGenetic()
can take a custom loss function.MODNetModel.fit()
. It will be appended to the targets (axis=-1). This can be useful for defining custom loss functions.custom_data
in FitGenetic is ignored, and appended to the targets (axis=-1). This can be useful for defining custom loss functions.