Skip to content

Instantly share code, notes, and snippets.

@Chiraagkv
Last active December 31, 2021 12:17
Show Gist options
  • Save Chiraagkv/017552876570a51d81ecbb278e338c81 to your computer and use it in GitHub Desktop.
Save Chiraagkv/017552876570a51d81ecbb278e338c81 to your computer and use it in GitHub Desktop.
import numpy as np
def hypothesis_function(θ0, θ1, X):
y = θ0 + θ1 * np.array(X)
return y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment