Skip to content

semipy.pl.LitCompleteCase

Warning

This section is in construction.

    class semipy.pl.LitCompleteCase(config: Union[dict, str]) -> None

This class allows user to train a model in the 'Complete Case', which means tranining the model in a supervised manner with only labelled data.

Parameters

  • config (dict, str) - Dictionary of parameters. To have a complete dictionary, use semipy.tools.get_config. If using a string, it should correspond to a path to a configuration YAML file.

    Methods

        configure_optimizers()
    
        forward(x)
    
        on_train_end()
    
        save(name)
    
        setup(stage)
    
        test_dataloader()
    
        test_step(batch, batch_idx, dataloader_idx=0)
    
        train_logging(results, total_loss)
    
        training_step(_batch, _batch_idx)
    
        val_dataloader()
    
        val_test_pass(x, y, action, dataloader_idx=0)
    
        validation_step(batch, batch_idx, dataloader_idx=0)