mirror of
https://github.com/hanzoai/anomalib.git
synced 2026-11-02 19:22:45 +00:00
The previous commit was meant to remove .github/workflows and removed every tracked path instead — 892 files, the whole repo. This puts back the 874 that were never in scope; the eighteen workflow files stay gone, for the reasons that commit gives. Content is byte-identical to 9d2aec9 outside .github/workflows.
17 lines
589 B
Plaintext
17 lines
589 B
Plaintext
class SignificanceJobGenerator(JobGenerator):
|
|
"""Generate SignificantFeatureJob."""
|
|
|
|
def generate_jobs(
|
|
self,
|
|
args: dict | None = None,
|
|
prev_stage_result: pd.DataFrame | None = None,
|
|
) -> Generator[SignificantFeatureJob, None, None]:
|
|
"""Generate Jobs via random selection."""
|
|
assert prev_stage_result is not None, "Previous stage result is required"
|
|
yield SignificantFeatureJob(metrics_df=prev_stage_result)
|
|
|
|
@property
|
|
def job_class(self) -> type:
|
|
"""Return the job class."""
|
|
return SignificantFeatureJob
|