-
Notifications
You must be signed in to change notification settings - Fork 74
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
DateTime improve constructor params #591
Comments
This is good idea! I think that this should be implemented as a shim function which transforms the
The size is always defined for the encoder, once it has been setup & constructed. |
glad you like it!
Can you specify what you mean by this? Thinking about the problem, I'd like to make this "Importance available for each input/sensor".
What do you think, esp of 3)? |
I was thinking you could write a python function like: def DateEncoder2( weight1, weight2, size = 100 ):
# transform the args into the current format for arguments...
return DateEncoder( numBits1, numBits2 )
I think that would add a lot of complexity to the SP & TM. I'd rather just concatenate the inputs into one big input.
I had a similar idea where the |
DateTime encoder in
py/htm/encoders/date.py
is a composit of several sub-encoders (ie timeOfDay, dayOfWeek, weeked, ...)bits
which means how many bits would that field activate. (this equals to "improtance" of said field in comparison to others)For modelling purposes it would be nice to have:
size=
like in RDSE)improtance
of each field ([0.0, 1.0]).-> approx: weekend: 6bits, day: 47b, time:47b
It would be much easier to work with such encoder.
The text was updated successfully, but these errors were encountered: