If I’m understanding what you’re after, you really need to do
samples_weights = y*weights.T

but to do that, you’re going to have to either add a 14th element representing “unlabeled” for every sample in y, OR cut out the 14th element of weights that represents the unlabeled category.
Also, welcome to the forum.  Hope this helps and good luck with your project!