I don't think we should use test_feats while training.  Just doing ```kernel.init(train_feats, train_feats)``` in training should be fine; in testing use ```kernel.init(train_feats, test_feats)```

Please check with other scripts/unittests/examples, how to initialize kernels properly.