Hey all, 

The CLA classifier is passed the bucket index when its compute() is called. How 
can I get that index?
I’ve been doing the following:

results = self.classifier.compute(recordNum=record_num, patternNZ=active_idx,
                                                  classification={'bucketIdx': 
self.encoder.getBucketIndices(raw_inp)[0],
                                                                  'actValue': 
raw_inp}, learn=True, infer=True)

After reading the code more thoroughly, it seems like the getBucketIndices() 
function returns the index of the first bit of the bucket and not the actual 
bucket index which means that the predictions I’ve been getting might very well 
be completely off. 

So my question is, if this not how the indices are queried for, what function 
can I use to get them?
Also, does the record number need to be reset when a sequence ends and another 
begins OR does it keep incrementing as long as we’re feeding the network data?

best,
Nick

Reply via email to