- Rishabh, Neuron
Standard algorithms need a hard coded logic for input and output... On the contrarty machine learning models develops the logic using the input and output data
Input
Output
Standard algorithm has the function:
Machine Learning algorithm estimates the function
(y = f(x)) given the data:
0 : 0
1 : 2
n : 2 * n
Hypothesis: f(x) = 2 * x
In Supervised Learning, we have a predefined input and output. Example - for training a sentiment analysis system, we have the text and the sentiment of each text
In Unsupervised Learning, we only have the input data and a defined action to take on them. Example - Clustering, Anomaly Detection, Dimensionality Reduction, etc.
a beautiful, highly flexible and generic biologically-inspired programming paradigm which enables a computer to learn from observational data
Components
Classification - Cross Entropy Loss:
Regression - Mean Squared Error:
Forward Propagation
Backward Propagation
Loss Function
Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently.
import numpy
import theano
import theano.tensor as T
from theano import pp
x = T.dscalar('x')
y = x ** 2
gy = T.grad(y, x)
f = theano.function([x], gy)
f(4)
# array(8.0)
Email: rishabh@neuronme.com
Github: https://github.com/rishy
Linkedin: https://www.linkedin.com/in/rishabhshukla1