This repository has been archived by the owner on Sep 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
More (relevant) objects define __str__ for comfortable printouts #1518
Comments
👍 This could be a good newbie task for someone who wants to get experience in the codebase. |
abhinavrai44
added a commit
to abhinavrai44/nupic
that referenced
this issue
Apr 16, 2017
@rhyolight I've made changes to one class. If this is the way to go, then I'll like to take up this issue |
I think it loos good! 👍 |
Yeah sure. :-) |
Way to go Abhinav. Maybe some day we'll see the HTM for stocks module in QuantConnect or Collective2. |
Sorry for being late with the PR. I have internal assessments going on at college as of now. Will submit the PR this weekend for sure. |
abhinavrai44
added a commit
to abhinavrai44/nupic
that referenced
this issue
Apr 21, 2017
abhinavrai44
added a commit
to abhinavrai44/nupic
that referenced
this issue
Apr 23, 2017
abhinavrai44
added a commit
to abhinavrai44/nupic
that referenced
this issue
Apr 30, 2017
abhinavrai44
added a commit
to abhinavrai44/nupic
that referenced
this issue
May 2, 2017
abhinavrai44
added a commit
to abhinavrai44/nupic
that referenced
this issue
May 3, 2017
rhyolight
pushed a commit
that referenced
this issue
May 3, 2017
Implemented for some encoders now. Reopening for remainder + other classes (SP, ...) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
some classes define
dump()
,debug()
, orprettyprint()
for debugging, displaying the state of the object to human, others have nothing.Let's unify this to
def __str__(self)
which should be a human readable (distinguishable) repr. of the object. Good candidates are encoders, anomaly class implements it, SP/TP could too.This is more like a long-stretched task, if you see a good place, implement it 😈
The text was updated successfully, but these errors were encountered: