Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added docstrings for Imagelab module, class, public methods and attri…
…butes (#91) * Added docstrings for Imagelab() and get_filepaths() * Added docstring for Imagelab._set_default_config() * Added docstring for imagelab.visualize() * Added docstrings in Imagelab.find_issues() * Added spacing in visualize documentation * Added docstrings for Imagelab.list_possible_issue_types() * Added examples in Imagelab.visualize() * Added docstrings for Imagelab.report() * Added docstrings for Imagelab.load() * Added docstrings for Imagelab class * Added docstrings for imagelab.py module * Fixed codeblock formatting * Added docstring to Imagelab.save() * Update src/cleanvision/utils/utils.py Co-authored-by: Elías Snorrason <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Elías Snorrason <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Added newline after code-block for proper formatting in sphinx documentation * Improved docstrings * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Changed style of param type * Added cross references * Docstring formatting improvements * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Removed examlpes_per_issue argument from visualize * Removed docstring for examples_per_issue * Added argument filepaths to Imagelab() * Renamed {issue_type}_bool column to is_{issue_type}_issue * Fixed mypy annotations * Added an argument to avoid overwriting files by default * Removed multiple import lines from same package * Removed an extra line * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Resolved comment * Resolved comment * Specify only one of data_path or filepaths, in all other cases throw ValueError * Added documentation for n_jobs * Improved docs formatting * Improved docs formatting * Fixed get_max_n_jobs * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Fixed flake8 error * Fixed mypy error * Update src/cleanvision/imagelab.py Co-authored-by: Jonas Mueller <[email protected]> * Renamed allow_overwrite to force * Updated imagelab.report() - Removed num_top_issues argument as it is unnecessary and can be controlled by verbosity - Changed max_prevalence to filter out issues in both cases where no issue_types are specified and also where issue_types are specified * Filter issues first and then limit by number of issues to report * Added print statement to indicate more issues were found --------- Co-authored-by: Elías Snorrason <[email protected]> Co-authored-by: Jonas Mueller <[email protected]>
- Loading branch information