TheAlgorithms / TheAlgorithms/Python

Feedback on t-SNE script: ideas to improve clarity and usability

オープン
#13,513 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement
主要言語
Python
スター
225k
フォーク
51.1k
平均マージ
1日 23時間
マージ済み PR(30日)
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!

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず t_stochastic_neighbour_embedding.py と現在の TSNE の使用方法を読みます。可視化、再現性、パラメーター、import 処理に関して提案されている変更を確認し、どの提案を対象範囲に含めるかを確定します。選択した改善が実装され、スクリプトが引き続き期待どおりに実行されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
matplotlib, python, scikit-learn
領域
data-visualization, machine-learning
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。