Plotting trees with TreeRecipe.jl
@adarshpalaskar1 がすでに取り組んでいます。
2024年3月1日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- julia
調査の方向性
TreeRecipe.jl の examples/DecisionTree_iris.jl と、issue にリンクされている MLJBase の pull request コメントから始め、MLJDecisionTreeInterface.DecisionTreeClassifier および machine/plot の例と比較してください。示されている MLJBase ワークフローで決定木をプロットでき、Plots の統合が弱い依存関係として扱われていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The following example shows how to manually plot the trees learned in DecisionTree.jl:
https://github.com/JuliaAI/TreeRecipe.jl/blob/master/examples/DecisionTree_iris.jl
Currently, the way to integrate a plot recipe in MLJ.jl is not documented, but is sketched in this comment.
So, can we somehow put this together to arrange that a workflow like this generates a plot of a decision tree?
edited again (x2):
using MLJBase
using Plots # <---- added in edit
import MLJDecisionTreeInterface
tree = MLJDecisionTreeInterface.DecisionTreeClassifier()
X, y = @load_iris
mach = machine(tree, X, y) |> fit!
plot(mach, 0.8, 0.7; size = (1400,600))) # <---- added in edit
Note: It used to be that you made RecipesBase.jl your dependency, to avoid a full Plots.jl dependency. But now the recipes live in Plots.jl and you are expected to make Plots.jl a weak dependency. You can see an example of this here.
- 主要言語
- Julia
- スター
- 9
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaAI/MLJDecisionTreeInterface.jl のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
JuliaAI/MLJDecisionTreeInterface.jl#59 · コメント 1 件 ·
-
Instructional
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
JuliaAI/MLJDecisionTreeInterface.jl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
Sienna-Platform/PowerSimulations.jl#1737 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
FluxML/Optimisers.jl#254 ·
-
Minor: floodplain warning percentage, scalar output error message and a never-true identity checkオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JuliaAI/MLJTransforms.jl#101 ·
メンテナーはふだん 1 日以内に返信
-
@contents blocks fail to render on Julia 1.14対応中かも @sbfnk が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
LuxDL/DocumenterVitepress.jl#410 ·