API Reference#
This section provides detailed documentation for all PySSL classes, functions, and modules.
π Quick Reference#
Core Classes:
ssl_framework.main.SelfTrainingClassifier- Main SSL classifierssl_framework.strategies.ConfidenceThreshold- Confidence-based selectionssl_framework.strategies.TopKFixedCount- Top-K selectionssl_framework.strategies.AppendAndGrow- Simple integrationssl_framework.strategies.ConfidenceWeighting- Weighted integration
Quick Import:
from ssl_framework.main import SelfTrainingClassifier
from ssl_framework.strategies import (
ConfidenceThreshold, TopKFixedCount,
AppendAndGrow, FullReLabeling, ConfidenceWeighting
)
π Detailed Documentation#
π External References#
PySSL builds on top of these excellent libraries:
scikit-learn - Base estimator interface
numpy - Numerical operations
pandas - DataFrame support
π Type Annotations#
PySSL includes comprehensive type hints. For complete type information, see the source code or use your IDEβs type checking capabilities.
from typing import Union, Optional
import numpy as np
import pandas as pd
# Supported input types
ArrayLike = Union[np.ndarray, pd.DataFrame]
TargetLike = Union[np.ndarray, pd.Series]