Skip to content

Commit

Permalink
Fix missing sphinx entry & flake8 (#1671)
Browse files Browse the repository at this point in the history
Summary:
Fixes failures in lint & docs workflows.

Pull Request resolved: #1671

Reviewed By: Balandat

Differential Revision: D46883168

Pulled By: saitcakmak

fbshipit-source-id: cae8c6202d6da94e3b720f613e44cbdec64d33ac
  • Loading branch information
saitcakmak authored and facebook-github-bot committed Jun 21, 2023
1 parent 02ff379 commit 567b889
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ax/service/utils/report_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,10 @@ def get_standard_plots(
if global_sensitivity_analysis and isinstance(model, TorchModelBridge):
try:
sens = ax_parameter_sens(model, order="total")
importance_measure = '<a href="https://en.wikipedia.org/wiki/Variance-based_sensitivity_analysis">Variance-based sensitivity analysis</a>'
importance_measure = (
'<a href="https://en.wikipedia.org/wiki/Variance-based_'
'sensitivity_analysis">Variance-based sensitivity analysis</a>'
)
except NotImplementedError as e:
logger.info(f"Failed to compute global feature sensitivities: {e}")
feature_importance_plot = plot_feature_importance_by_feature_plotly(
Expand Down
8 changes: 8 additions & 0 deletions sphinx/source/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,14 @@ ax.models.torch.botorch_modular.utils module
:undoc-members:
:show-inheritance:

ax.models.torch.botorch_modular.kernels module
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. automodule:: ax.models.torch.botorch_modular.kernels
:members:
:undoc-members:
:show-inheritance:

ax.models.torch.cbo_lcea module
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 567b889

Please sign in to comment.