尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Suggests anime based on your own MyAnimeList history.
A model learns your taste from the scores on your MAL list, then ranks the most popular titles on MAL that you haven't watched yet. The picks are published as a small web page.
LIKE_THRESHOLD (default 7) or higher means
liked. A lower score, or a dropped title, means disliked. Unscored
titles are ignored./rate page. It shows anime you haven't watched and lets you answer
👍 or 👎. Once a model exists, it asks about the titles the model is least
sure about (active learning). Your answers are saved to data/ratings.json
and override list scores. This is useful when your list has few low scores.MaxAbsScaler.Pipeline.
Training logs the cross-validated average precision.NUM_CANDIDATES titles of the MAL ranking are
scored. Everything already on your list is skipped, except plan-to-watch. The
best TOP_N are written to data/recommendations.json.Requires Python 3.11+.
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
cp .env.example .env # then fill in MAL_CLIENT_ID and MAL_USERNAME
Create the client ID at https://myanimelist.net/apiconfig. Your anime list must be public.
animerec serve # http://localhost:5000; rate anime at /rate, then click "Retrain"
animerec train # same as the button: fit the model -> models/model.joblib
animerec update # score the MAL ranking -> data/recommendations.json
animerec build-site # static page -> site/index.html
Commit data/ratings.json so that the scheduled GitHub Actions run trains with
your ratings too.
GitHub Pages (no server). The workflow
.github/workflows/pages.yml retrains the model,
refreshes the picks and publishes the static page every Monday. To set it up:
MAL_CLIENT_ID and MAL_USERNAME.Docker (Render, Fly.io, Railway, ...). Run animerec update first, so that
data/recommendations.json is baked into the image:
docker build -t animerec .
docker run -p 8000:8000 animerec
pytest
ruff check . && ruff format .
nbstripout --install # strip notebook outputs on commit
The notebooks/ folder holds the original 2022 exploration: the
MySQL ETL, model comparison and active learning. They are kept for reference and
are not used by the package.