Skip to content

Instantly share code, notes, and snippets.

View stepney141's full-sized avatar

stepney141 stepney141

View GitHub Profile
@stepney141
stepney141 / クラスタリング手法.md
Last active April 19, 2025 15:27
By ChatGPT o3 (w/ Deep Research)

了解しました。書籍のベクトルデータに対してクラスタリングおよび可視化を行うために使える技術について、目的や粒度の多様性も考慮した上で、幅広く網羅的に調査します。

可視化レベルの選択肢(例:2次元マップ、クラスタラベル、階層構造など)や、各クラスタリング手法・可視化ツールの特性(精度、スケーラビリティ、使いやすさ)を含めて比較できるように整理してご提案します。少々お待ちください。

書籍ベクトルのクラスタリングと可視化手法の比較提案

粗いジャンルレベルのクラスタリング(大まかな分類)

クラスタリング手法: 粗粒度なジャンル分けには、比較的少数の大きなクラスタを想定した手法が適しています。代表的なのは K-meansクラスタリング です。K-meansは指定したクラスタ数にデータ点を分割し、各クラスタの重心(平均ベクトル)を計算して繰り返し割り当てを更新します (2.3. Clustering — scikit-learn 1.6.1 documentation) (2.3. Clustering — scikit-learn 1.6.1 documentation)。クラスタ形状が凸(球状)で類似したサイズの場合にうまく機能し、大規模データでも高速に処理できる利点があります ([2.3. Clustering — scikit-learn 1.6.1 documentation](https://scikit-learn.org/stable/modules/clustering.html#:~:text=The%20KMeans%20algorithm%20clusters%20data,a

@stepney141
stepney141 / discord-dl.sh
Last active April 3, 2025 03:24
A helper script to use DiscordChatExporter
#!/bin/bash
# Info: https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs
set -e
DLL_DIR_NAME='DiscordChatExporter.Cli.linux-x64'
LATEST_RELEASE="https://github.com/Tyrrrz/DiscordChatExporter/releases/latest/download/${DLL_DIR_NAME}.zip"
DLL_DIR_PATH="./${DLL_DIR_NAME}"
DCE="${DLL_DIR_PATH}/DiscordChatExporter.Cli"
@stepney141
stepney141 / wayback-scripts.md
Last active April 14, 2025 09:12
My CLI Snippets to Save Web Pages to Wayback Machine (Internet Archive)
@stepney141
stepney141 / deep-research.md
Last active March 6, 2025 04:23
自作PC選定

ぼく

RTX 3060Tiに合うパーツを見繕って、自作PCのパーツ構成案を考えてください。もし構成を考えるための追加情報が必要なら、その都度私に言ってください。

  • 用途: 深層学習アプリケーションの開発、生成AI・イラストAIのローカル運用、軽いゲームプレイが主目的です。3DCGレンダリングにも使うかもしれませんが、私はまだ3DCG初心者なので、プロフェッショナルなレンダリング用途に最適化する必要はありません。WindowsとLinuxを入れて、デュアルブート運用したいです。
  • 予算: できれば10万円以内、オーバーしたとしても13万円程度に収めてください。これは必須です。3060Tiはすでに所有していますので、この予算はグラフィックボード以外のパーツに全て使って構いません。モニターやキーボードもすでに所有しています。
  • CPU: Intel, AMDにこだわりはありません。
  • その他: 自室の机の下に置く予定なので、コンパクトなケースのほうが良いです。しかし、後からパーツを換装・追加できるようにもしておきたいので、小さすぎるケースではいけません。RGBにはこだわりはありません。

o3-mini w/DR

@stepney141
stepney141 / toda-all.ts
Last active August 19, 2024 14:03
bookmeter_wish samples
const mode = parseArgv(process.argv);
const users = [
{ id: "1504793", name: "Azaika" },
{ id: "1504772", name: "qraphnet" },
{ id: "1504804", name: "caphosra" },
{ id: "1504818", name: "Juei" },
{ id: "1504820", name: "LLUUIIGGEE" },
{ id: "1503969", name: "ゆみや" },
{ id: "1504789", name: "hakatashi" }
];
https://github.com/yacy/yacy_search_server
https://github.com/pretzelhammer/rust-blog
https://github.com/nyashiki/minishogilib
https://github.com/abap34/ml-lecture
https://github.com/0burak/imperial_hft
https://github.com/niklasso/minisat
https://github.com/Tatamo/atcoder-cli
https://github.com/regexident/cargo-modules
https://github.com/scomup/MathematicalRobotics
https://github.com/TakumaNakao/mathematical_robotics
@stepney141
stepney141 / clickcat.ts
Last active March 31, 2024 17:04
popcat.click を無限に自動クリックする(bot検知回避済み)
import { executablePath } from "puppeteer";
import puppeteer from "puppeteer-extra";
import AdblockerPlugin from "puppeteer-extra-plugin-adblocker";
import StealthPlugin from "puppeteer-extra-plugin-stealth";
import { sleep } from "./.libs/utils";
import type { ElementHandle } from "puppeteer";
const adblockerPlugin = AdblockerPlugin();

Keybase proof

I hereby claim:

  • I am stepney141 on github.
  • I am stepney141 (https://keybase.io/stepney141) on keybase.
  • I have a public key ASCN5V3_SANf082_Fdrw0hS0LopFf2sBzpM4upmXps0VLAo

To claim this, I am signing this object:

@stepney141
stepney141 / .env
Last active September 26, 2023 07:58
履修ポチポチ楽しい!
LOYOLA_ID=A1234567
LOYOLA_PASSWORD=password