[docs]@staticmethoddefmake_presentation_builder(state,presentation_format:PresentationFormat):ifisinstance(state,TrainMLModelState)andpresentation_format==PresentationFormat.HTML:returnHPHTMLBuilderelifisinstance(state,ExploratoryAnalysisState)andpresentation_format==PresentationFormat.HTML:returnExploratoryAnalysisHTMLBuilderelifisinstance(state,DatasetExportState)andpresentation_format==PresentationFormat.HTML:returnDatasetExportHTMLBuilderelifisinstance(state,MLApplicationState)andpresentation_format==PresentationFormat.HTML:returnMLApplicationHTMLBuilderelifisinstance(state,SubsamplingState)andpresentation_format==PresentationFormat.HTML:returnSubsamplingHTMLBuilderelifisinstance(state,LigoSimState)andpresentation_format==PresentationFormat.HTML:returnLIgOSimulationHTMLBuilderelifisinstance(state,FeasibilitySummaryState)andpresentation_format==PresentationFormat.HTML:returnFeasibilitySummaryHTMLBuilderelif(isinstance(state,TrainGenModelState)orisinstance(state,GenModelState))andpresentation_format==PresentationFormat.HTML:returnGenModelHTMLBuilderelifisinstance(state,ClusteringState)andpresentation_format==PresentationFormat.HTML:returnClusteringHTMLBuilderelse:raiseValueError(f"PresentationFactory: state and format combination ({type(state).__name__}, "f"{presentation_format.name}) is not supported.")