Don't export `scitype` method.
まだ誰も着手していません。
- #135 @OkonSamuel による — マージされずにクローズ
評価
調査の方向性
まず MLJModelInterface の scitype の定義とエクスポートを読み、次に MLJBase/src/MLJBase.jl の workaround と、MLJBase/src/Interface/data_utils.jl の対応するメソッドを調べます。scitype が MLJModelInterface からエクスポートされなくなったこと、修飾付きの使用が引き続き可能であること、そしてメソッドのインポートの衝突が解消されていることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Due to a recent change in ScientificTypesBase,jl from version 2.0 to 3.0, the ScientifictypesBase.scitype method is now a two argument method. Packages depending on MLJModelInterface.jl previously depended on the previous one argument version defined in version 2.0 series of ScientifictypesBase package.
A workaround is needed to avoid making MLJModelInterface breaking for its's users. This involves
- Defining a one argument
scitypemethod in MLJModelInterface. Something in the lines of
scitype(X) = scitype(get_interface_mode(), X)
scitype(::LightInterface, X) = throw(ArgumentError("FullInterface is needed..."))
The corresponding FullInterface method would be implemented at MLJBase/src/Interface/data_utils.jl.
- exporting the
scitypemethod atMLJModelInterface(Needed as users expect that thescitypemethod is exported. see #129 )
But implementing the second step also leads to method import clashes with ScientificTypes.scitype at MLJBase. For now a hack at MLJBase/src/MLJBase.jl fixes this issue, but going forward the scitype method shouldn't be exported. Hence users that want to use the scitype method would have to qualify it with the package name e.g. MLJModelinterface.scitype(X).
- 主要言語
- Julia
- スター
- 39
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaAI/MLJModelInterface.jl のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
JuliaAI/MLJModelInterface.jl#215 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
JuliaAI/MLJModelInterface.jl#212 · コメント 26 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
JuliaAI/MLJModelInterface.jl#209 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
JuliaAI/MLJModelInterface.jl#208 · コメント 2 件 ·
-
next major release
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
JuliaAI/MLJModelInterface.jl#189 ·
JuliaAI/MLJModelInterface.jl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
oxfordcontrol/COSMO.jl#211 ·
-
documentation
難易度 2/5 半日 初心者へのやさしさ 65/100
メンテナーはふだん 6 日以内に返信
-
ARKODE: callbacks that modify `u` throw MethodError on reinit対応中かも @devmotion が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
SciML/Sundials.jl#575 ·
-
broken links in docsオープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Tube(N) builds N TubeBase segments of length L/(N−1): total friction/inertia length is N·L/(N−1)対応中かも @ChrisRackauckas-Claude が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
SciML/ModelingToolkitStandardLibrary.jl#525 ·
メンテナーはふだん 1 日以内に返信