Skip to content

Refresh Pokémon t-SNE post for Quarto - #8

Open
jbkunst wants to merge 2 commits into
mainfrom
pokemon-post-refresh
Open

Refresh Pokémon t-SNE post for Quarto#8
jbkunst wants to merge 2 commits into
mainfrom
pokemon-post-refresh

Conversation

@jbkunst

@jbkunst jbkunst commented Jul 22, 2026

Copy link
Copy Markdown
Owner

What

  • restores the 2016 Pokémon visualization post in the current Quarto site
  • preserves the original publication date and adds an italic July 2026 update note
  • replaces obsolete data/sprite sources with maintained PokeAPI repositories
  • modernizes the joins and replaces the old tsne package with Rtsne
  • keeps the original bar chart → treemap → t-SNE storytelling
  • enriches the data with capture rate, happiness, hatch counter, legendary/mythical flags, growth rate, color, shape, habitat, and generation
  • upgrades the Highcharter tooltip with current artwork plus battle and species traits

Mixed-data preprocessing

  • continuous variables are median-imputed and standardized
  • binary flags remain 0/1 so rare values are not artificially amplified by z-scoring
  • gender_rate = -1 is treated as genderless rather than as a numeric ratio
  • nominal variables are one-hot encoded
  • semantic feature blocks are normalized by 1 / sqrt(number of columns) to reduce dummy-count dominance
  • block weights are explicit in the post code and default to 1 for easy review/sensitivity testing
  • no arbitrary rarity score is created; capture rate and legendary/mythical flags are kept directly

Notes

  • source-only change; generated docs/ output is intentionally not committed
  • no empty commits
  • statically reviewed, but not rendered in this environment because an R runtime is not available here

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.

1 participant