Skip to content

back

Builder - abstract class

class arsa_ml.pipelines.builder_abstract.Builder


This class is an abstract class asserting all pipeline classes have the same set of obligatory methods.



Methods


Note: All methods are decorated as @abstractmethod and must be implemented in every child class.

preview_rashomon()

  Method for presenting all trained models and their scores (leaderboard) and the Rashomon Set size plot to help the user choose the right epsilon parameter value.

set_epsilon()

  Method for setting the value of epsilon parameter. Has to be completed before the build() method.

build()

  Primary method of all pipelines. Creates all the necessary objects from given arguments, returns them and launches the Streamlit dashboard in the background if launch_dashboard parametr is set to True.

dashboard_close()

  Method used to close the Streamlit dashboard launched in the build() method. Kills all the Streamlit processes to avoid zombie process running in the background.