Igneous rocks form when molten magma is cooled and solidified, either within the Earth’s crust (plutonic rocks), or from lava extruded onto the Earth’s surface in the atmosphere or underwater (volcanic rocks). The classification of igneous rocks can be done using data from different instrumental techniques. However, these approaches tend to be expensive and time-consuming. In this research …