Skip to content

Commit 8bd84a8

Browse files
committed
Used absolute imports for sphinx build
1 parent 42912a8 commit 8bd84a8

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

ml_grid/results_processing/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import pandas as pd
88
import numpy as np
99
from typing import List, Dict, Optional, Union, Tuple, Any
10-
from .core import get_clean_data
10+
from ml_grid.results_processing.core import get_clean_data
1111

1212

1313
class ResultsFilter:

ml_grid/results_processing/plot_best_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import textwrap
1212
import ast
1313

14-
from .core import get_clean_data
15-
from .plot_hyperparameters import HyperparameterAnalysisPlotter # To reuse parsing logic
14+
from ml_grid.results_processing.core import get_clean_data
15+
from ml_grid.results_processing.plot_hyperparameters import HyperparameterAnalysisPlotter # To reuse parsing logic
1616

1717
# Limit on how many outcomes to plot automatically to avoid generating too many figures.
1818
MAX_OUTCOMES_TO_PLOT = 10

ml_grid/results_processing/plot_master.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
from typing import List, Optional, NoReturn
1010

1111
# Import all the individual plotter classes
12-
from .plot_algorithms import AlgorithmComparisonPlotter
13-
from .plot_distributions import DistributionPlotter
14-
from .plot_features import FeatureAnalysisPlotter
15-
from .plot_timeline import TimelineAnalysisPlotter
16-
from .plot_hyperparameters import HyperparameterAnalysisPlotter
17-
from .plot_feature_categories import FeatureCategoryPlotter
18-
from .plot_pipeline_parameters import PipelineParameterPlotter
19-
from .plot_global_importance import GlobalImportancePlotter
20-
from .plot_interactions import InteractionPlotter
21-
from .plot_best_model import BestModelAnalyzerPlotter
22-
from .summarize_results import ResultsSummarizer
12+
from ml_grid.results_processing.plot_algorithms import AlgorithmComparisonPlotter
13+
from ml_grid.results_processing.plot_distributions import DistributionPlotter
14+
from ml_grid.results_processing.plot_features import FeatureAnalysisPlotter
15+
from ml_grid.results_processing.plot_timeline import TimelineAnalysisPlotter
16+
from ml_grid.results_processing.plot_hyperparameters import HyperparameterAnalysisPlotter
17+
from ml_grid.results_processing.plot_feature_categories import FeatureCategoryPlotter
18+
from ml_grid.results_processing.plot_pipeline_parameters import PipelineParameterPlotter
19+
from ml_grid.results_processing.plot_global_importance import GlobalImportancePlotter
20+
from ml_grid.results_processing.plot_interactions import InteractionPlotter
21+
from ml_grid.results_processing.plot_best_model import BestModelAnalyzerPlotter
22+
from ml_grid.results_processing.summarize_results import ResultsSummarizer
2323

2424

2525
class MasterPlotter:

ml_grid/results_processing/summarize_results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from sklearn.preprocessing import MultiLabelBinarizer
99
import warnings
1010

11-
from .core import get_clean_data
11+
from ml_grid.results_processing.core import get_clean_data
1212

1313
class ResultsSummarizer:
1414
"""Provides methods to summarize and transform results data into concise DataFrames."""

0 commit comments

Comments
 (0)