joaopauloschuler / neural-api

CAI NEURAL API - Pascal based deep learning neural network API optimized for AVX, AVX2 and AVX512 instruction sets plus OpenCL capable devices including AMD, Intel and NVIDIA.
GNU Lesser General Public License v2.1
371 stars 199 forks source link

Add example for Z^2 = X^2 + Y^2 #33

Closed joaopauloschuler closed 4 years ago

joaopauloschuler commented 4 years ago

How about an example where you have 2 inputs (x,y) and an output (z) which is the hypotenuse of a right-angle triangle?

So in our dataset, Z^2 = X^2 + Y^2.. use maybe 10 data points.

A simple start-to-finish on "solving" and improving on the solution to this problem could be extrapolated to all other sorts of problems.

joaopauloschuler commented 4 years ago

This has been implemented at: https://github.com/joaopauloschuler/neural-api/tree/master/examples/Hypotenuse