title: Tensorflow JS Probabilties
body: <p>i have multiple feature columns and a result column where i want to predict if something happens or not.
  so I'm training my model and finally i do</p>
  <pre><code>const predictions = model.predict(xTest).argMax(-1);
  </code></pre>
  <p>this returns a tensor and when getting the data with:</p>
  <pre><code>predictions.dataSync ()
  </code></pre>
  <p>i get values like [0, 1, 1, 1, 0, ...]
  is there any way to get probabilities like in python? [0.121, 0.421, 0.8621, ...]</p>
  <p>I only found one result:
  <a href="https://groups.google.com/a/tensorflow.org/g/tfjs/c/TvcB69MUj_I?pli=1" rel="nofollow noreferrer">https://groups.google.com/a/tensorflow.org/g/tfjs/c/TvcB69MUj_I?pli=1</a></p>
  <p>is this still the case? are there no probabilities in javascript?</p>