Data-driven degradation modeling of lithium-ion batteries