urbanlc.model.base.LCC#

class urbanlc.model.base.LCC(save_path: str, legends: Optional[List[int]] = None, class_names: Optional[List[str]] = None)#

Abstract base class for Land Cover Classification (LCC) models.

Methods

construct_transform_map()

Construct transformation maps and functions to map between class labels, indices, and names.

infer()

Abstract method to perform inference with the model.

load_model()

Abstract method to load a pre-trained model.

save_model()

Abstract method to save the current model.

train()

Abstract method to train the model.

validate()

Abstract method to validate the model.