RecSys.jl
RecSys.jl copied to clipboard
README.md is outdated
Following the Readme
trainingset = DlmFile("data3.csv"; dlm=',', header=true, quotes=false)
als = ALSWR(trainingset)
LoadError: MethodError: Cannot `convert` an object of type RecSys.DlmFile to an object of type RecSys.ALSWR{TP<:RecSys.Parallelism,TI<:RecSys.Inputs,TM<:RecSys.Model}
This may have arisen from a call to the constructor RecSys.ALSWR{TP<:RecSys.Parallelism,TI<:RecSys.Inputs,TM<:RecSys.Model}(...),
since type constructors fall back to convert methods.
while loading In[32], in expression starting on line 1
in RecSys.ALSWR{TP<:RecSys.Parallelism,TI<:RecSys.Inputs,TM<:RecSys.Model}(::RecSys.DlmFile) at ./sysimg.jl:53
Has the API changed ?
Yes. README.md
is now outdated.
Available constructors for ALSWR
:
ALSWR(inp::FileSpec, par::ParThread)
ALSWR(inp::FileSpec, par::ParShmem)
ALSWR(user_item_ratings::FileSpec, item_user_ratings::FileSpec, par::ParBlob)
Here are some examples to refer: https://github.com/abhijithch/RecSys.jl/tree/c33e06f37bd8c327380944226b3c33cbd7544339/examples
@abhijithch Can you please update?