Machine learning approach for computing optical properties of a photonic crystal fiber