Skip to content

DummyTransformer

A module for performing dummy transformations

Info

This is only a dummy transformer

Dummy Transformer, based on Dummy et al. 2022

Please give examples!

Parameters

dummy_hp: int,default=None Explanation of the dummy hyperparameter

Examples

Usage with PHOTONAI Now

Python
    import stuff

    hp = Hyperpipe()
    hp += PipelineElement("DummyTransformer", dummy)

Notes

This is only a dummy classifier!

Source code in project_name/dummy/DummyTransformer.py
Python
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
def __init__(self, dummy_hp: int = None):
    """Dummy Transformer, based on Dummy et al. 2022

    Please give examples!

    Parameters
    ----------
    dummy_hp: int,default=None
        Explanation of the dummy hyperparameter

    Examples
    --------
    Usage with PHOTONAI Now
    ```python
        import stuff

        hp = Hyperpipe()
        hp += PipelineElement("DummyTransformer", dummy)
    ```

    Notes
    -----
    This is only a dummy classifier!
    """
    self.dummy_hp = dummy_hp