High optical storage density using three-dimensional hybrid nanostructures based on machine learning