Thanks for your help. I can correctly run my code.
and I share blog and paper about Monte Calro dropout and predict, confidence interval.
blogs:
“What My Deep Model Doesn’t Know…”
What my deep model doesn't know... | Yarin Gal - Blog | Cambridge Machine Learning Group
" Prediction Intervals for Deep Learning Neural Networks"
  
      

      Machine Learning Mastery – 21 Feb 21
  

  
    

Prediction Intervals for Deep Learning Neural Networks

  Prediction intervals provide a measure of uncertainty for predictions on regression problems. For example, a 95% prediction interval indicates that […]

  
    Est. reading time: 16 minutes
  

  

  
    
    
  

  


" Uncertainty in Neural Networks"
  

      Bayesian Statistics and Functional Programming
  

  
    

Bayesian Statistics and Functional Programming: Uncertainty in Neural Networks

  Using MC Dropout to get probability intervals for neural network predictions.


  

  
    
    
  

  


paper:
" High-Quality Prediction Intervals for Deep Learning: A Distribution-Free, Ensembled Approach"
  
      

      arXiv.org
  

  
    

High-Quality Prediction Intervals for Deep Learning: A Distribution-Free,...

  This paper considers the generation of prediction intervals (PIs) by neural
networks for quantifying uncertainty in regression tasks. It is axiomatic that
high-quality PIs should be as narrow as possible, whilst capturing a specified
portion of data....