Realtime Machine Learning Based In-Cycle Control Of Homogeneous Charge Compression Ignition