input: from typing import List, Tuple
  import numpy as np
  from sklearn.linear_model import LinearRegression
  
  def linear_regression_predict(X: List[float], Y: List[float], predict_x: float) -> float:
      """Performs linear regression on given data and predicts the value 
      for a new given input.
      >>> linear_regression_predict([1,2,3,4,5], [3,5,7,9,13], 7)
      13.0
      """
      X = np.array(X).reshape(-1, 1)
      Y = np.array(Y)
      
      model = LinearRegression()
      model.fit(X, Y)
      
      return model.predict([[predict_x]])[0]
output:     X = np.array(X).reshape(-1, 1)
      Y = np.array(Y)
      
      model = LinearRegression()
      model.fit(X, Y)
      
      return model.predict([[predict_x]])[0]