Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] Add module descriptions and ToDos #289

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

nabenabe0928
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Sep 15, 2021

Codecov Report

Merging #289 (aeedc2f) into development (9002937) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           development     #289   +/-   ##
============================================
  Coverage        81.74%   81.74%           
============================================
  Files              151      151           
  Lines             8655     8655           
  Branches          1330     1330           
============================================
  Hits              7075     7075           
  Misses            1109     1109           
  Partials           471      471           
Impacted Files Coverage Δ
autoPyTorch/api/base_task.py 84.46% <ø> (ø)
autoPyTorch/constants.py 100.00% <ø> (ø)
autoPyTorch/data/base_feature_validator.py 100.00% <ø> (ø)
autoPyTorch/data/base_target_validator.py 97.95% <ø> (ø)
autoPyTorch/data/base_validator.py 92.00% <ø> (ø)
autoPyTorch/datasets/base_dataset.py 80.00% <ø> (ø)
autoPyTorch/datasets/resampling_strategy.py 93.24% <ø> (ø)
autoPyTorch/ensemble/abstract_ensemble.py 88.88% <ø> (ø)
autoPyTorch/ensemble/ensemble_builder.py 73.16% <ø> (ø)
autoPyTorch/ensemble/ensemble_selection.py 95.78% <ø> (ø)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9002937...aeedc2f. Read the comment docs.

@ravinkohli ravinkohli self-requested a review November 11, 2021 10:57
@@ -1,3 +1,18 @@
"""Base class for tasks to solve
* The shared components among all the tasks
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is quite obvious, we don't need to mention it

Copy link
Contributor

@ravinkohli ravinkohli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR. I have suggested a few minor changes, other than that I think this can be merged.

@@ -1,3 +1,18 @@
"""Base class for tasks to solve
* The shared components among all the tasks
* This module provides the optimization given a pipeline
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line is a bit confusing. We can mention that it initiates HPO for the pipeline search space.

* This module provides the optimization given a pipeline
* This module plays a role of communicating with
distributed clients

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can also mention that its the main API to interact with the user and fits the ensemble.

@@ -1,3 +1,15 @@
"""Base class for the feature validator given a task
* A wrapper class of the sklearn.base.BaseEstimator
* The feature validator for each task inherits this class
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its again redundant.

"""Base class for the feature validator given a task
* A wrapper class of the sklearn.base.BaseEstimator
* The feature validator for each task inherits this class
* Check if the provided feature can be processed in AutoPytorch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Check if the provided feature can be processed in AutoPytorch
* Check if the provided train and test features can be processed in AutoPytorch

TODO:
* SUPPORTED_FEAT_TYPES --> Enumerator
* Describe the shape of X
* typing.<type> --> <type>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not done.

@@ -1,3 +1,19 @@
"""Base class for the target (or label) validator given a task
* A wrapper class of the sklearn.base.BaseEstimator
* The target validator for each task inherits this class
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again redundant.

TODO:
* typing.<type> --> <type>
* logging.Logger --> Logger
* Inherit feature_validator and target_validator from a child class
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you mean here?

@@ -1,3 +1,19 @@
"""Base class of the provided dataset
* Provide data validation splits based on types of data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Provide data validation splits based on types of data
* Provide data validation splits based on types of data and user's choice for example, holdout.

@@ -1,3 +1,26 @@
"""The title of the module description # noqa
* Describe at the beginning of the source code.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is template text. Maybe you have to update this?

@nabenabe0928 nabenabe0928 marked this pull request as draft November 11, 2021 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants