text: **Learning**
  
  Machine learning is the study of programs that can improve their performance on a given task 
  automatically.[41] It has been a part of AI from the beginning.[e] 
  
  learning. 
  There are 
  Unsupervised learning analyzes a stream of data and 
  finds patterns and makes predictions without any other 
  guidance.[44] Supervised learning requires labeling the 
  training data with the expected answers, and comes in 
  two main varieties: classification (where the program 
  must learn to predict what category the input belongs 
  in) and regression (where the program must deduce a numeric function based on numeric input).[45] 
  
  several kinds of machine 
  
  In reinforcement learning, the agent is rewarded for good responses and punished for bad ones. The agent 
  learns to choose responses that are classified as "good".[46] Transfer learning is when the knowledge 
  gained from one problem is applied to a new problem.[47] Deep learning is a type of machine learning 