Hi,
This is not PyTorch issue, it is related to Pandas and the issue is that as_matrix has been deprecated in favor of to_numpy.

  
      stackoverflow.com
  
  
      
    
  

  AttributeError: 'Series' object has no attribute 'as_matrix' Why is it error? 23



  python, pandas, numpy



  asked by
  
  
    YC Sang
  
  on 08:21AM - 11 Feb 20 UTC


  
  
    
    
  
  


Bests