Possible Inconsistency and Variable Naming in Exercise 8.13 (Page 269)
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 67/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
本の補足資料で、269ページのExercise 8.13のコードを探してください。散布図の変数名とunit 43のラベルの配置を確認し、その後のfitlmによる除外手順と比較してください。命名が明確で、プロットのラベルが読みやすければ完了です。このissueでは、特定のファイルやテストは指定されていません。
索引モデルが issue の本文から書いたものです。
説明
Dear Professors,
While testing Exercise 8.13 on page 269, I noticed a small detail regarding variable naming and coordinate positioning in the 3D scatter plot snippet.
In the code snippet for Exercise 8.13:
sel = [9 30 31 38 47 21];
scatter3(X(sel,1), X(sel,2), y(sel), 'r', 'MarkerFaceColor', 'r')
sel1 = 43;
scatter3(X(sel1,1), X(sel1,2), y(sel1), 'k', 'MarkerFaceColor', 'k')
text(X(sel1,1), X(sel1,2), y(sel1), '43')
Using sel for the six outliers and sel1 for unit 43 creates a slight naming collision/confusion when moving to the fitlm model refitting step further down page 269, where sel is reused to specify the excluded units:
sel = [9 30 31 38 47 21];
out = fitlm(X, y, 'Exclude', sel)
Additionally, calling text() with the exact coordinates of unit 43 renders the label '43' directly over the black marker point, making it hard to read depending on the 3D rotation angle.
Also, maybe I suggest adding a small spatial offset to the text command can improve the readability ex:
text(X(sel1,1) + 0.1, X(sel1,2), y(sel1), '43')
Thanks again for your time!
- 主要言語
- MATLAB
- スター
- 30
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
UniprJRC/DSwithMATLAB のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
UniprJRC/DSwithMATLAB#243 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
UniprJRC/DSwithMATLAB#242 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
UniprJRC/DSwithMATLAB#241 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
UniprJRC/DSwithMATLAB#240 ·
-
Suggestion for the next edition
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
UniprJRC/DSwithMATLAB#238 · コメント 2 件 ·
UniprJRC/DSwithMATLAB の issue をすべて見る
似ている issue
-
bug priority: p3 size: xs
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
Ax/Atb trim the caller's GpuIds in place, so blocksize-1 solvers run on one GPU after the first angle対応中かも @AnderBiguri が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
mathworks/MATLAB-Coding-Guidelines#7 · コメント 3 件 ·