Implement the representation as string (__repr__) of the DataModels
Closed this issue · 2 comments
marcelcaraciolo commented
The current data models lack the representation as strings by using repr.
The goal is when you do print model , it will show a brief representation of the ratings matrix (based on the current ones) such as:
print model
MatrixDataModel (3 by 3)
red orange green
apple 2.000000 --- 1.000000
orange --- 2.000000 ---
celery --- --- 1.000000
marcelcaraciolo commented
Code already commited see the pull request #55
marcelcaraciolo commented
Merged the code in the pull #55.