Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove spectral-metric #102

Merged
merged 1 commit into from
Jun 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions azimuth/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ def create_app_with(config_path, debug=False, profile=False) -> FastAPI:
from azimuth.routers.v1.model_performance.utterance_count import (
router as utterance_count_router,
)
from azimuth.routers.v1.spectral_clustering import (
router as spectral_clustering_router,
)
from azimuth.routers.v1.tags import router as tags_router
from azimuth.routers.v1.top_words import router as top_words_router
from azimuth.routers.v1.utterances import router as utterances_router
Expand All @@ -164,11 +161,6 @@ def create_app_with(config_path, debug=False, profile=False) -> FastAPI:
prefix="/dataset_warnings",
dependencies=[Depends(require_application_ready)],
)
api_router.include_router(
spectral_clustering_router,
prefix="/spectral_clustering",
dependencies=[Depends(require_application_ready)],
)
api_router.include_router(
metrics_router,
prefix="/dataset_splits/{dataset_split_name}/metrics",
Expand Down
121 changes: 0 additions & 121 deletions azimuth/modules/dataset_analysis/spectral_clustering.py

This file was deleted.

2 changes: 0 additions & 2 deletions azimuth/modules/task_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from azimuth.modules.dataset_analysis import (
dataset_warnings,
similarity_analysis,
spectral_clustering,
syntax_tagging,
)
from azimuth.modules.model_contract_task_mapping import model_contract_task_mapping
Expand Down Expand Up @@ -48,7 +47,6 @@
SupportedModule.PerturbationTestingSummary:
perturbation_testing.PerturbationTestingSummaryModule,
SupportedModule.PredictionComparison: prediction_comparison.PredictionComparisonModule,
SupportedModule.SpectralClustering: spectral_clustering.SpectralClusteringModule,
SupportedModule.SyntaxTagging: syntax_tagging.SyntaxTaggingModule,
SupportedModule.TokensToWords: tokens_to_words.TokensToWordsModule,
SupportedModule.TopWords: top_words.TopWordsModule,
Expand Down
103 changes: 0 additions & 103 deletions azimuth/plots/sankey_plot.py

This file was deleted.

41 changes: 0 additions & 41 deletions azimuth/routers/v1/spectral_clustering.py

This file was deleted.

1 change: 0 additions & 1 deletion azimuth/types/general/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class SupportedModule(SupportedTask):
PerturbationTestingMerged = "PerturbationTestingMerged"
PerturbationTestingSummary = "PerturbationTestingSummary"
PredictionComparison = "PredictionComparison"
SpectralClustering = "SpectralClustering"
SyntaxTagging = "SyntaxTagging"
TokensToWords = "TokensToWords"
TopWords = "TopWords"
Expand Down
7 changes: 0 additions & 7 deletions azimuth/types/spectral_clustering.py

This file was deleted.

20 changes: 0 additions & 20 deletions azimuth/utils/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,6 @@
X_RIGHT_LEGEND = 1.08
Y_LEGEND_LINE_1 = -17
Y_LEGEND_LINE_HEIGHT = -21
SANKEY_PALETTE = [
"#B8D8E9",
"#83A8BC",
"#FDCC8C",
"#FCB11F",
"#FCAEAD",
"#FF8271",
"#C1E5A1",
"#558A26",
"#FFFFB9",
"#FFEB38",
"#4C93C3",
"#1D5A93",
"#D5C1DE",
"#B873D8",
"#9DD196",
"#56D44D",
"#A0E8E3",
"#45BDB5",
]


class Colors(str, Enum):
Expand Down
Loading