In this study, we first explain why a high refractive index can serve as a proxy for a high SHG coefficient. Subsequently, we construct a machine learning model to predict materials with high refractive index. To enhance the robustness and accuracy of our model, we take assistance from existing empirical relationships between band gap and refractive index. Additionally, we develop another regression model to forecast Vickers hardness values.