TODO: Add description
x_tensor_linear = Nx.tensor([1, 2, 3, 4, 5, 6])
y_tensor_linear = Nx.tensor([3.2, 4.9, 7.3, 9.1, 10.5, 13.2])
When doing linear regression the values returned are on the form:
Y = alpha + beta * x
If available in Hex, the package can be installed
by adding playing_with_nx
to your list of dependencies in mix.exs
:
def deps do
[
{:playing_with_nx, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/playing_with_nx.