-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MKLでのエラー #1
Comments
おぉ。。。 その変更でよさそうな気がするのでpull requestにしてもらえますか!? M1のMacでのCIも追加したいですが、GitHub Actionsではまだ使えないんですよねぇ。。。 |
テスト部分だけを書き換えてPRしておきました。 |
ありがとうございます! |
CRANにsubmitしました! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
treefitがCRANから削除されているようです。
https://cloud.r-project.org/web/packages/treefit/index.html
原因は、
test-treefit.R
でのcalculate_low_dimension_laplacian_eigenvectors()
の出力が、ハードコードされた数値と異なるためだと思われます。https://cran-archive.r-project.org/web/checks/2021/2021-03-29_check_results_treefit.html
おそらくBLASの実装がMKLかOpenBLASかで結果が変わっているのだと予想していますが、これら実装が違うと、固有ベクトルの符号が反転する場合があるのと、小数点以下何位かで値がずれてくるので、
treefit-r/tests/testthat/test-treefit.R
Lines 86 to 90 in 7ccd30e
の部分は、例えば
treefit-r/tests/testthat/test-treefit.R
Lines 101 to 105 in 7ccd30e
の部分は、
としてみてはいかがでしょうか。
The text was updated successfully, but these errors were encountered: