Regression Challenge

In this challenge it’s not loading the chart that shows how close my model is to zero and I’m not sure what is causing it.
My code is here:
import app

import pandas as pd

import numpy as np

import matplotlib.pyplot as plt

import tensorflow as tf

from tensorflow import keras

from tensorflow.keras.models import Sequential

from tensorflow.keras.callbacks import EarlyStopping

from tensorflow.keras import layers

from tensorflow.keras.layers import InputLayer

from tensorflow.keras.layers import Dense

from tensorflow.keras.optimizers import Adam

from sklearn.model_selection import train_test_split

from sklearn.preprocessing import StandardScaler

from sklearn.preprocessing import Normalizer

from sklearn.metrics import r2_score

Do extensions code below

if you decide to do the Matplotlib extension, you must save your plot in the directory by uncommenting the line of code below

dataset = pd.read_csv(‘admissions_data.csv’)

labels = dataset.iloc[:, 1]

features = dataset.iloc[:, 0:1]

features_train, features_test, labels_train, labels_test = train_test_split(features, labels, test_size = 0.20, random_state=23)

ct = StandardScaler()

features_train_set = ct.fit_transform(features_train)

features_test_set = ct.transform(features_test)

my_model = Sequential()

input = InputLayer(input_shape = (features.shape[1],))


my_model.add(Dense(16, activation=‘relu’))