TheAlgorithms / TheAlgorithms/Python
Feedback on t-SNE script: ideas to improve clarity and usability
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 225k
- 派生
- 51.1k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 156
描述
Feature description
Hi! I tested your t_stochastic_neighbour_embedding.py script on my local setup and it runs well thanks for sharing it!
I have a few suggestions that might improve clarity and usability for others:
Visualization: Consider adding a matplotlib scatter plot to show the t-SNE result. It helps users see the clustering visually.
Reproducibility: Adding random_state=42 to the TSNE() constructor would make the output consistent across runs.
Parameter transparency: Explicitly setting perplexity, learning_rate, and n_iter could help learners understand how t-SNE behaves.
Import error handling: A simple try/except block for sklearn imports could guide users if they haven't installed the package.
Let me know if you'd like help implementing any of these — happy to collaborate!
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读 t_stochastic_neighbour_embedding.py 以及当前对 TSNE 的使用方式。审查关于可视化、可复现性、参数和 import 处理的拟议更改,然后确认哪些建议属于范围之内。在选定的改进完成实现且脚本仍能按预期运行后,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- matplotlib, python, scikit-learn
- 领域
- data-visualization, machine-learning
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100