ModelMetrics not found

Posted By: peterhw

ModelMetrics not found - 12/20/18 10:29

Just looking for a little help.
Trying to run a script from https://www.financial-hacker.com
which uses
Quote:
library('deepnet', quietly = T)
library('caret', quietly = T)


I think I have successfully installed these 2 packages but now get the following error message. I believe I have accessed something like 950 packages but no sign of ModelMetrics

Error: package or namespace load failed for ‘caret’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘ModelMetrics’


I am newish to Zorro and trying to learn by reading and by example and so I sort of want to have working examples or really understand why and how to overcome the problem.
Posted By: Petra

Re: ModelMetrics not found - 12/20/18 11:38

Have you the newest R version 3.5.1? Maybe the caret package needs the newest version. Otherwise install modelmetrics manually. I use caret too but it did install modelmetrics automatically.
Posted By: peterhw

Re: ModelMetrics not found - 12/20/18 16:59

Thanks for the response

Quote:
R version 3.5.1 (2018-07-02) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)


I only downloaded recently but thought this was the latest. I understand the script is 1-2 years old.

As I stated previously I downloaded loads of packages (not sure how I did it!) - about 950 in total but don't see ModelMetrics.

I'll do a little more digging around
Posted By: Petra

Re: ModelMetrics not found - 12/21/18 07:47

Its on CRAN

https://cran.r-project.org/web/packages/ModelMetrics/index.html
© 2024 lite-C Forums