Comparing main...docs_update · groundlight/python-sdk · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: groundlight/python-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: groundlight/python-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: docs_update
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 2 files changed
  • 2 contributors

Commits on May 26, 2026

  1. docs: clarify multi-class detectors require non-overlapping classes

    Adds a prominent callout on the multi-choice answer-mode page and to the
    create_multiclass_detector docstring explaining that multi-class detectors
    return exactly one label per image and are not multi-label classifiers.
    Users with overlapping classes are directed to use multiple binary detectors
    instead.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    bwada and claude committed May 26, 2026
    Configuration menu
    Copy the full SHA
    a20184f View commit details
    Browse the repository at this point in the history
  2. docs: tighten multi-class non-overlapping-classes copy

    Editorial pass on the previous draft:
    - Open with one direct sentence instead of two that restate the page title.
    - Collapse the caution callout from three paragraphs to two; merge the
      "wrong tool" sentence into the rule-of-thumb so the same idea is not
      delivered twice.
    - Replace "works best when" with "designed for" — the detector always
      returns a single label, so "best when" understates the constraint.
    - Trade the person/vehicle example for the rule-of-thumb framing alone;
      avoids a context switch away from the dog-breed running example.
    - In the docstring, swap the abstract co-occurrence wording for a concrete
      "Dog" / "Wearing collar" example.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    bwada and claude committed May 26, 2026
    Configuration menu
    Copy the full SHA
    1ec3c25 View commit details
    Browse the repository at this point in the history
  3. docs: address feedback on multi-class non-overlap guidance

    - Recommend "a separate detector for each question you want to answer"
      rather than specifically a binary detector. The right mode follows from
      the question, so over-prescribing binary was wrong.
    - Use "classes" instead of "categories" in the intro sentence to match the
      rest of the callout, the class_names parameter, and standard ML
      literature (scikit-learn, etc.).
    - Swap the docstring co-occurrence example from a subject+attribute pair
      ("Dog" / "Wearing collar") to a paired-objects example ("a person and
      a dog") — the canonical multi-label intuition.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    bwada and claude committed May 26, 2026
    Configuration menu
    Copy the full SHA
    2cbdbe0 View commit details
    Browse the repository at this point in the history
  4. docs: unify "belong to" for class membership across docs and docstring

    The markdown said "each image should match exactly one" and the docstring
    said "each image should fit exactly one" for the same idea. A reader
    crossing between the docs site and the SDK reference would see drift.
    Standardize on "belong to" — the precise class-membership term in ML
    literature.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    bwada and claude committed May 26, 2026
    Configuration menu
    Copy the full SHA
    0f13544 View commit details
    Browse the repository at this point in the history
Loading