Prior to dataclasses availability within the python standard library, attrs was used. This may be replaced now to reduce the requirements list.
|
@attr.s(auto_attribs=True) |
|
class TrainingData: |
|
features: pd.DataFrame = attr.ib(validator=validate_training_data) |
|
target: pd.DataFrame = attr.ib(validator=validate_training_data) |
|
target_names: List[str] |
|
|
|
|
|
@attr.s(auto_attribs=True) |
|
class Labels: |
|
target: pd.DataFrame |
|
target_names: List[str] |
|
@attr.s(auto_attribs=True) |
|
class TestData: |
|
- attrs # test-data requirement |
This is incorrectly labeled as a test-data requirement (it is, but attr is also used with the autometa-unclustered-recruitment module)
Prior to dataclasses availability within the python standard library,
attrswas used. This may be replaced now to reduce the requirements list.Autometa/autometa/binning/unclustered_recruitment.py
Lines 76 to 86 in baf61c0
Autometa/make_test_data.py
Lines 99 to 100 in baf61c0
Autometa/autometa-env.yml
Line 7 in baf61c0
This is incorrectly labeled as a test-data requirement (it is, but
attris also used with theautometa-unclustered-recruitmentmodule)