tmu icon indicating copy to clipboard operation
tmu copied to clipboard

Implements the Tsetlin Machine, Coalesced Tsetlin Machine, Convolutional Tsetlin Machine, Regression Tsetlin Machine, and Weighted Tsetlin Machine, with support for continuous features, drop clause, T...

Results 21 tmu issues
Sort by recently updated
recently updated
newest added

Hi, I am training a Tsetline Machine, and trying to save the trained model using `pickle`. When I train the TM using CPU, the model is saved without errors. But,...

TMU learning faulty, shown in https://github.com/bimalb58/trec_exp Testing error does not increase: 94.24 17.20 0.14 7.49 0.41 1 95.45 17.60 0.15 4.85 0.41 1 97.27 17.20 0.14 4.44 0.41 1 97.49...

File "/data/tmp/tmu/./examples/classification/IMDbSparseAbsorbingTextCategorizationDemo.py", line 92, in tm.fit(X_train, Y_train) File "/data/tmp/tmu/tmu/models/classification/vanilla_classifier.py", line 374, in fit assert len(X) == len(Y), "X and Y must have the same length" File "/usr/local/lib/python3.10/dist-packages/scipy/sparse/_base.py", line 395, in...

Dev gives the following error when running LogicalTransformerDemo.py Traceback (most recent call last): File "/Users/oleg/Dropbox/Research/Implementations/LogicalTransformer/./LogicalTransformerDemo.py", line 73, in Y_test_predicted_token, Y_test_scores_token = tms[i][j].predict(X_test_token, return_class_sums=True) File "/Users/oleg/Dropbox/Research/Implementations/dev/tmu/tmu/models/classification/vanilla_classifier.py", line 425, in predict encoded_X_test...

1. TLDR; update_p must be global. Split this out into a function and it should be supported for vanilla. 2. Add a wrapper in TMComposite for this. 3. @olegranmo suggests...

During testing of a hardware implementation of a Convolutional Coalesced TM – for MNIST – I found that setting a maximum/minimum value of the signed weights could give a boost...

For the TMCoalescedClassifier I have used the following code to extract TA_actions per clause and weights per clause (per class). TA_action_array= np.zeros((numberofclauses, numberofliterals), int) for k in range (numberofclauses): for...