Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
R を使用している場合、glmnet によって構築されたモデルをファイルに保存し、それをファイルから読み取って予測に使用するにはどうすればよいですか?
cv.glmnet を使ってモデルを構築しても同じですか?
ありがとう!
私はあなたの主張を誤解しているかもしれませんが、save関数を使用して R オブジェクトを.RDataファイルに保存することは常に実行可能です。次回は、 を使用load(YourFile.RData)してオブジェクトをセッションにロードするだけです。
save
.RData
load(YourFile.RData)