Classification of positive and negative electrode materials used in batteries