title: Can someone explain to me how MinMaxScaler() works?
body: <p>Why we are using the MinMaxScaler() and what does it do?</p>
  
  <pre><code>scaler = MinMaxScaler()
  scaler.fit(X_train)
  X_train = scaler.transform(X_train)
  X_test = scaler.transform(X_test)
  model = LogisticRegression()
  model.fit(X_train, y_train)
  y_pred = model.predict(X_test)
  </code></pre>