Text this: Transfer function prediction of a lithium iron phosphate battery with nature-inspired approach