Detection of factors that determine the quality of industrial minerals