rival icon indicating copy to clipboard operation
rival copied to clipboard

Command line interface

Open alansaid opened this issue 10 years ago • 4 comments

Make Rival accessible and configurable through command line arguments to make the binary distribution usable without property files or configuration in Java.

alansaid avatar Jun 05 '14 19:06 alansaid

Hi @alansaid,

As we have a similar discussion for RankSys (probably you received a notification), I was wondering if you have started doing anything here? If not, do you have any specific idea how you would like to have it done or you're open for suggestions?

One idea could be as here https://github.com/ir-uam/RankSys/issues/6 to create some kind of shell from which you could run and do kind of exploratory recsys analysis.

Other that I have, but I think it's more complex, could be to do as Spark/pySpark is doing it, so to enable running it from Python as a context. They it would be possible to use it e.g. in Jupyter notebooks with other Python packages if you would like to plot or analyse results.

jacekwasilewski avatar Jul 03 '15 14:07 jacekwasilewski

Hi @jacekwasilewski , A while ago I made few rudimentary cli prototypes for RiVal but haven't committed anything to the repo - and likely won't as it's gone stale by now. My idea was to build something similar to MyMediaLite's cli (which you've linked to in the discussion over at RankSys).

As for now, we don't have a clear plan on how to do it, so if you're feeling you're up for the task, please go ahead :)

alansaid avatar Jul 06 '15 07:07 alansaid

Thanks @alansaid!

One more question - what idea did you have in your mind? Only to expose original RiVal functionalities or as well wrappers for other frameworks, like Mahout, LensKit etc., to be able to run full flows?

jacekwasilewski avatar Jul 06 '15 08:07 jacekwasilewski

Hi @jacekwasilewski, I think it would be best to only expose RiVal functionalities by default, making sure there is one default "language" for issuing the basic commands/recommendations. This does however not exclude a "pro" interface where additional and more complex commands could be pushed to the other frameworks.

alansaid avatar Jul 07 '15 07:07 alansaid