Neural network to execute the OCC Model in python