Discrete element and artificial intelligence modeling of rock properties and formation failure in advance of shovel excavation