Skip to content

Commit

Permalink
Add docstring to callbacks, add callbacs to api reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudioSalvatoreArcidiacono committed Jul 31, 2024
1 parent ed822f8 commit 3bb1d1f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/reference/callbacks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: felimination.callbacks
11 changes: 10 additions & 1 deletion felimination/callbacks.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
"""Callbacks for feature selection algorithms."""


def plot_progress_callback(selector, *args, **kwargs):
"""Plot the feature selection progress."""
"""Plot the feature selection progress during the algorithm execution.
Parameters
----------
selector : object
The feature selector object.
"""
from IPython import display
from matplotlib import pyplot as plt

Expand Down

0 comments on commit 3bb1d1f

Please sign in to comment.