A neural network-based cloud mask for PREFIRE and evaluation with simulated observations