Docsity

Machine learning for bioengineering, Appunti di Machine learning

Anteprima parziale del testo

Scarica Machine learning for bioengineering e più Appunti in PDF di Machine learning solo su Docsity!

Applied Machine Learning in

Biomedicine

Enrico Grisan

[email protected]

From model to no model

Faith in previous knowledge

Strong assumption on

  • data structure
  • separating boundary shape

Faith in the data

No assumption on the

underlying structure

Data tell me everything I need

Decision boundaries

Linear classification

1 - nearest neighbour

classifier

15 - nearest neighbour

classifier

Brain MRI application

MICCAI MS lesion challenge 2008

http://www.ia.unc.edu/MSseg/index.html

Identification via gait analysis

Nowlan 2009

Choi 2014

Characterize each person

by the way he moves:

gait signature

Parametric vs non-parametric

• Starting assuming decision boundary is a

plane

• Non-parametric KNN has no fixed assumption:

boundaries gets more complicated with more

data

• Non-parametric methods may need more data

and can be computationally intensive

Neuron basics

Neuron: real and simulated

From biology to models

Biological models?

Careful with brain analogies:

Many different types of neurons

Dendrites can perform complex

non-linear computations

Synapses are not single weights

but complex dynamical

dynamical system

Rate code may not be adequate

Neuron and logistic classifier

Forward flow

x

x

cell body activation function output axon axon from a neuron synapse dendrite

𝑖

𝑖

Linking output to input

How a change in the output (loss) affects the

weights?

𝑖

cell body activation function output axon axon from a neuron synapse dendrite

𝑖

Backward flow

w 𝑦

Activation function

Ups

1) Easy analytical derivatives

2) Squashes numbers to range

[0,1]

3) Biological interpretation as

saturating «firing rate» of a

neuron

Downs

1) Saturated neurons kill the

gradients

2) Sigmoid output are not zero-

centered

Sigmoid backpropagation

Assume the input of a neuron is always positive.

What about the gradient on 𝒘?

𝑖

𝑡+ 1

𝑡

𝒘

Gradient is all positive or all negative!