-
Notifications
You must be signed in to change notification settings - Fork 31
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
How to install reco R package ? #10
Comments
Hi. It is not on cran yet. You can use |
This works. Thanks. |
Hi..I tried installing the package using devtools::install_github("dselivanov/reco") and then installed rtools. |
thanks. WRMF function works instead of ALS.. |
devtools::install_github("dselivanov/reco") WARNING: Rtools is required to build R packages, but is not currently installed. Please download and install Rtools 3.4 from http://cran.r-project.org/bin/windows/Rtools/.
|
@PalinMemoi please install Rtools from CRAN as suggested in error message |
Plz, help me...I installed Rbuildtools. however, it doesn't work. I tried to install reco again by devtools.... It shows message as below package ‘Rcpp’ successfully unpacked and MD5 sums checked The downloaded binary packages are in ERROR: dependency 'Rcpp' is not available for package 'rsparse'
|
Hi Dmitry, install.packages("devtools",type="win.binary") (without "win.binary" I was not able to install devtools that"s why i have used it ) Could you please help me. |
@zakariaBensmida it is on CRAN now and you can use just |
Hi Dmitry |
There is no more reco. It was renamed/refactored to rsparse.
чт, 25 апр. 2019 г., 11:55 zakariaBensmida <notifications@github.com>:
… Hi Dmitry
and then? how to install reco?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABHC5XN5X7LQAHRH365GIHDPSFPVZANCNFSM4EFF3FZQ>
.
|
Oh my god !!! so you mean i must change some code in your tutorial also? i mean the artist/music recommender system example? |
Yes, but I think it will be not too many changes.
чт, 25 апр. 2019 г., 12:00 zakariaBensmida <notifications@github.com>:
… Oh my god !!! so you mean i must change some code in your tutorial also? i
mean the artist/music recommender system example?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABHC5XNKST433MSERPAX223PSFQIPANCNFSM4EFF3FZQ>
.
|
Thank youuuuuuuuuuu veryyyyyyy muchhhhhhhhhhhh |
Hi Dmitry, model$add_scorer(x = X_cv_history_conf, y = X_cv_future, name = "map-10", metric = "map@10") i got this error : |
This was removed from pkg API as I found it redundant. Please consult with
the pkg documentation - `?WRMF`. You can examine model performance after
model fitting - see `?metrics`.
…On Thu, Apr 25, 2019 at 12:36 PM zakariaBensmida ***@***.***> wrote:
Hi Dmitry,
when i run this:
model$add_scorer(x = X_cv_history_conf, y = X_cv_future, name = "ndcg-10",
metric = ***@***.***")
model$add_scorer(x = X_cv_history_conf, y = X_cv_future, name = "map-10",
metric = ***@***.***")
i got this error :
Error: attempt to apply non-function
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABHC5XI2GBW4ULNBBWBX5HTPSFUPNANCNFSM4EFF3FZQ>
.
--
Regards
Dmitriy Selivanov
|
Hi dmitry, when i use the below code i cant find any predictiosn so i can use this code"ap_k(predictions, actual)" setnames(raw_data, c("user_id", "artist_id", "artist_name", "number_plays")) install.packages('rsparse') RhpcBLASctl::blas_set_num_threads(1) library(ggplot2) futile.logger::flog.threshold(futile.logger::ERROR) RhpcBLASctl::blas_set_num_threads(1) trace = NULL futile.logger::flog.info("alpha = %.3f, rank = %d", alpha, rank)model = WRMF$new(rank = rank) X_train_conf = make_confidence(X_train, alpha) fit modeluser_embeddings = model$fit_transform(X_train_conf, n_iter = n_iter_max, store stracegrid_trace = attr(user_embeddings, "trace") grid_trace$param_set = sprintf("alpha=%.3f; rank=%d", alpha, rank) plotly::ggplotly(g, width = 9, height = NULL) |
i tried this one but it does not work |
Try user_embeddings[, 7, drop = F]
чт, 25 апр. 2019 г., 13:33 zakariaBensmida <notifications@github.com>:
… i tried this one but it does not work
actual = as(X_train_conf, "RsparseMatrix")
identical(rsparse::ap_k(user_embeddings[,7], actual), 1)
Error in rsparse::ap_k(user_embeddings[, 7], actual) :
is.matrix(predictions) is not TRUE
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABHC5XPASXNR2UXA2POXPLTPSF3HJANCNFSM4EFF3FZQ>
.
|
sorry but i have soome idiot questions .is the below the predictions or only the seventh column is the predictions? |
Hello
I am unable to install this package. Also, I cannot find any documentation about how to install.
I am getting the following error:
Please advise.
Best,
Manish
The text was updated successfully, but these errors were encountered: