code: def get_model(input_dim):
      
      model = Sequential()
      model.add(Dense(100, input_dim=input_dim, activation='sigmoid'))
      model.add(Dense(1))
      model.compile(loss='mean_squared_error', optimizer='SGD')
      return model
docs: Create and compile simple model.