Skip to content

Commit

Permalink
Add changes for e69bba2
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 13, 2024
1 parent 2a4bf0e commit e179c9e
Show file tree
Hide file tree
Showing 221 changed files with 8,081 additions and 6,429 deletions.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Submodules
/autoapi/dacapo/experiments/datasplits/datasets/graphstores/index
/autoapi/dacapo/experiments/datasplits/datasets/raw_gt_dataset/index
/autoapi/dacapo/experiments/datasplits/datasets/raw_gt_dataset_config/index
/autoapi/dacapo/experiments/datasplits/datasets/simple/index


Classes
Expand All @@ -31,6 +32,7 @@ Classes
dacapo.experiments.datasplits.datasets.DummyDatasetConfig
dacapo.experiments.datasplits.datasets.RawGTDataset
dacapo.experiments.datasplits.datasets.RawGTDatasetConfig
dacapo.experiments.datasplits.datasets.SimpleDataset


Package Contents
Expand Down Expand Up @@ -409,3 +411,80 @@ Package Contents
:type: Optional[List[funlib.geometry.Coordinate]]


.. py:class:: SimpleDataset
A class used to define configuration for datasets. This provides the
framework to create a Dataset instance.

.. attribute:: name

str (eg: "sample_dataset").
A unique identifier to name the dataset.
It aids in easy identification and reusability of this dataset.
Advised to keep it short and refrain from using special characters.

.. attribute:: weight

int (default=1).
A numeric value that indicates how frequently this dataset should be
sampled in comparison to others. Higher the weight, more frequently it
gets sampled.

.. method:: verify


Checks and validates the dataset configuration. The specific rules for
validation need to be defined by the user.

.. rubric:: Notes

This class is used to create a configuration object for datasets.


.. py:attribute:: path
:type: pathlib.Path


.. py:attribute:: weight
:type: int


.. py:attribute:: raw_name
:type: str


.. py:attribute:: gt_name
:type: str


.. py:attribute:: mask_name
:type: str


.. py:method:: dataset_type(dataset_config)
:staticmethod:



.. py:property:: raw
:type: funlib.persistence.Array



.. py:property:: gt
:type: funlib.persistence.Array



.. py:property:: mask
:type: funlib.persistence.Array | None



.. py:property:: sample_points
:type: None



Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
dacapo.experiments.datasplits.datasets.simple
=============================================

.. py:module:: dacapo.experiments.datasplits.datasets.simple
Classes
-------

.. autoapisummary::

dacapo.experiments.datasplits.datasets.simple.SimpleDataset


Module Contents
---------------

.. py:class:: SimpleDataset
A class used to define configuration for datasets. This provides the
framework to create a Dataset instance.

.. attribute:: name

str (eg: "sample_dataset").
A unique identifier to name the dataset.
It aids in easy identification and reusability of this dataset.
Advised to keep it short and refrain from using special characters.

.. attribute:: weight

int (default=1).
A numeric value that indicates how frequently this dataset should be
sampled in comparison to others. Higher the weight, more frequently it
gets sampled.

.. method:: verify


Checks and validates the dataset configuration. The specific rules for
validation need to be defined by the user.

.. rubric:: Notes

This class is used to create a configuration object for datasets.


.. py:attribute:: path
:type: pathlib.Path


.. py:attribute:: weight
:type: int


.. py:attribute:: raw_name
:type: str


.. py:attribute:: gt_name
:type: str


.. py:attribute:: mask_name
:type: str


.. py:method:: dataset_type(dataset_config)
:staticmethod:



.. py:property:: raw
:type: funlib.persistence.Array



.. py:property:: gt
:type: funlib.persistence.Array



.. py:property:: mask
:type: funlib.persistence.Array | None



.. py:property:: sample_points
:type: None



56 changes: 56 additions & 0 deletions _sources/autoapi/dacapo/experiments/datasplits/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Submodules
/autoapi/dacapo/experiments/datasplits/dummy_datasplit/index
/autoapi/dacapo/experiments/datasplits/dummy_datasplit_config/index
/autoapi/dacapo/experiments/datasplits/keys/index
/autoapi/dacapo/experiments/datasplits/simple_config/index
/autoapi/dacapo/experiments/datasplits/train_validate_datasplit/index
/autoapi/dacapo/experiments/datasplits/train_validate_datasplit_config/index

Expand All @@ -34,6 +35,7 @@ Classes
dacapo.experiments.datasplits.TrainValidateDataSplitConfig
dacapo.experiments.datasplits.DataSplitGenerator
dacapo.experiments.datasplits.DatasetSpec
dacapo.experiments.datasplits.SimpleDataSplitConfig


Package Contents
Expand Down Expand Up @@ -667,3 +669,57 @@ Package Contents
.. py:attribute:: gt_dataset
.. py:class:: SimpleDataSplitConfig
A convention over configuration datasplit that can handle many of the most
basic cases.


.. py:attribute:: path
:type: pathlib.Path


.. py:attribute:: name
:type: str


.. py:attribute:: train_group_name
:type: str


.. py:attribute:: validate_group_name
:type: str


.. py:attribute:: raw_name
:type: str


.. py:attribute:: gt_name
:type: str


.. py:attribute:: mask_name
:type: str


.. py:method:: datasplit_type(datasplit_config)
:staticmethod:



.. py:method:: get_paths(group_name: str) -> list[pathlib.Path]
.. py:property:: train
:type: list[dacapo.experiments.datasplits.datasets.simple.SimpleDataset]



.. py:property:: validate
:type: list[dacapo.experiments.datasplits.datasets.simple.SimpleDataset]



Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
dacapo.experiments.datasplits.simple_config
===========================================

.. py:module:: dacapo.experiments.datasplits.simple_config
Classes
-------

.. autoapisummary::

dacapo.experiments.datasplits.simple_config.SimpleDataSplitConfig


Module Contents
---------------

.. py:class:: SimpleDataSplitConfig
A convention over configuration datasplit that can handle many of the most
basic cases.


.. py:attribute:: path
:type: pathlib.Path


.. py:attribute:: name
:type: str


.. py:attribute:: train_group_name
:type: str


.. py:attribute:: validate_group_name
:type: str


.. py:attribute:: raw_name
:type: str


.. py:attribute:: gt_name
:type: str


.. py:attribute:: mask_name
:type: str


.. py:method:: datasplit_type(datasplit_config)
:staticmethod:



.. py:method:: get_paths(group_name: str) -> list[pathlib.Path]
.. py:property:: train
:type: list[dacapo.experiments.datasplits.datasets.simple.SimpleDataset]



.. py:property:: validate
:type: list[dacapo.experiments.datasplits.datasets.simple.SimpleDataset]



Loading

0 comments on commit e179c9e

Please sign in to comment.