title: How can I create model to classify data at certain group
body: <p>Here is how my dataset looks like : </p>
  
  <pre><code>A1  B1  C1  D1  E1  F1
  A   1   10  100 2   0.5
  A   2   20  120 4   0.7
  A   3   30  300 5   0.8
  A   4   2   200 1   0.9
  B   5   5   115 1   1
  B   6   100 100 1   0
  </code></pre>
  
  <p>I am new to modelling. I have to select a model such that I pick B1 with least value of F1 for every A1(eg: A). Can anybody suggest what is the model I am supposed to use to achieve the same.</p>