Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add vector quantization example to KBinsDiscretizer docs #31613

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

pw42020
Copy link

@pw42020 pw42020 commented Jun 20, 2025

Add vector quantization example to KBinsDiscretizer docs

Reference Issues/PRs

#30621 regarding examples/cluster/plot_face_compress.py

What does this implement/fix? Explain your changes.

Adds additional documentation to the KBinsDiscretizer document in the form of an important note that it only outputs floats. This is shown to be an important use case in the Vector Quantization example where the size of the image is increased by 8x due to the transition from int8 (0-255) to float64.

Any other comments?

No.

pw42020 added 4 commits June 20, 2025 15:09
…drastically increase in size using this algorithm, shown by the example plot_face_Compress
Copy link

github-actions bot commented Jun 20, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 52fa55f. Link to the linter CI: here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant