Hybrid Coding Approach For Machine Learning