GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — add kmeans clustering example by clewis7 · Pull Request #734 · fastplotlib/fastplotlib

Conversation

@clewis7

@clewis7 clewis7 commented Feb 18, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Simple kmeans clustering example using MNIST dataset

kmeans.mp4

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@clewis7
add kmeans clustering example
76322a6
@clewis7
clewis7 requested a review from kushalkolar as a code owner February 18, 2025 22:51
@clewis7

clewis7 commented Feb 18, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

Weird doc build failure, not something that I added

Also, based on their docs, a list type for that config should be accepted

they did just do a release...

update: yep, def has to do with the release; updated my local and now am getting the warning
https://github.com/sphinx-doc/sphinx/pull/13146/files

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

clewis7 added 2 commits February 18, 2025 18:29
@clewis7
update conf
be9a311
@clewis7
switch to tool tip
7c13050
@kushalkolar

kushalkolar commented Feb 20, 2025

Copy link
Copy Markdown
Member

In this case using linear interpolation for images looks better, and you can also add an interactive covariance matrix, see if the scatter is more informative in 3D

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@clewis7

clewis7 commented Feb 20, 2025

Copy link
Copy Markdown
Member Author

image

Idk if the linear interpolation looks that much better imo

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@clewis7

clewis7 commented Feb 20, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

scatter looks pretty much the same in 3d

I think interactive cov is fine to add for the gallery demo but is prob too much for medium article to explain

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kushalkolar

kushalkolar commented Feb 21, 2025

Copy link
Copy Markdown
Member

image

Idk if the linear interpolation looks that much better imo

I think this looks better! Easier to see the numbers

I think interactive cov is fine to add for the gallery demo but is prob too much for medium article to explain

I think it shows off the cool features of fpl though, it shows that covariance is a good measure in this case.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@clewis7

clewis7 commented Feb 21, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

I think it shows off the cool features of fpl though, it shows that covariance is a good measure in this case.

The covariance matrix is not that informative in this case, we already have an example with covariance I think for this demo it is okay to just keep it to kmeans (show people something different)

mnist_cov.mp4
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@clewis7
switch to linear interp and 3D camera for kmeans
713f102
@clewis7

clewis7 commented Feb 21, 2025

Copy link
Copy Markdown
Member Author

@kushalkolar should be gtg

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

kushalkolar added 2 commits February 21, 2025 23:44
@kushalkolar
increase timeout for deploy docs connection
d073c66
@kushalkolar
increase log level
e948145
@kushalkolar

kushalkolar commented Feb 22, 2025

Copy link
Copy Markdown
Member

No idea what's up with the docs deploy failure, I will try in a diff PR later

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

kushalkolar
kushalkolar reviewed Feb 22, 2025
View reviewed changes
Comment thread docs/source/conf.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

kushalkolar
kushalkolar requested changes Feb 22, 2025
View reviewed changes
Comment thread examples/machine_learning/kmeans.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread examples/machine_learning/kmeans.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread examples/machine_learning/kmeans.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@clewis7
requested changes
dc2bb2c
kushalkolar
kushalkolar approved these changes Feb 24, 2025
View reviewed changes
@kushalkolar
kushalkolar merged commit bd131f9 into main Feb 24, 2025
@kushalkolar
kushalkolar deleted the mnist-example branch April 18, 2025 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@kushalkolar kushalkolar kushalkolar approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@clewis7 @kushalkolar
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.