How to assign a weight for classifiers when using weighted majority voting?
You can test each base classifier on a hold-out dataset and come up with a performance metric say accuracy for each model. You can then use each model's accuracy as a weight when combining predictions in the ensemble.
Here is a useful article.