Docsity

Machine Learning per l'Ingegneria Biomedica: Apprendimento di Basi Sparse, Appunti di Machine learning

Anteprima parziale del testo

Scarica Machine Learning per l'Ingegneria Biomedica: Apprendimento di Basi Sparse e più Appunti in PDF di Machine learning solo su Docsity!

Machine Learning for

Biomedical Engineering

Enrico Grisan [email protected]

Data representation

To find a representation that approximates

elements of a signal class with a linear

combination of base signals

y = Dx 𝑥 = 𝑎𝑟𝑔 min 𝑥

2

Orthonormal bases

  • Fourier, DCT, Hadamard, Wavelets,
  • Lots of good properties
    • Projections
    • Fast transforms
  • Drawbacks
    • Not spatially compact
    • Bases have global support
    • Few non zero coefficient only for periodic signals

Discrete cosine transform

Orthonormal wavelets

  • Spatially compact
  • Multiresolution
  • Fast transforms

𝑘𝑛

𝑘𝑛

𝑘

𝑘 𝑛 2 𝑘

Designing filter banks

  • Wedgelets, curvelets, countourlets
  • Gabor filters

Learning sparse bases

To find a representation that:

1. approximates elements of a signal class

2. with as few elements as possible

Sparse representation

Given: 𝑌 ∈ ℝ 𝑚𝑥𝑁 with N samples Sparsity level 𝑠 Dictionary 𝐷 ∈ ℝ 𝑚𝑥𝑛 ; each column is named atom or word Sparse representation problem to solve: 𝑋 = 𝑎𝑟𝑔 min 𝑋

𝐹 2 subject to: 𝑥𝑙 0 ≤ 𝑠, 𝑙 = 1 , … , 𝑁

Sparse representation of data

Greedy approach

Solve the problem separately for each data

sample

What kind of dictionaries

  • Preset
    • Made from the rows of a classic transform
    • Random
    • Especially built e.g. for incoherence
  • Learned
    • Learned from training signals for each specic application

Learned dictionaries

Advantages

  • maximize performance for the application at hand
  • Learning can be done before application

Drawbacks

  • No structure, hence no fast algorithms
  • Learning dictionaries takes time and might be hard

More notations

  • Indeterminations
    • Multiplicative: removed by word normalization
    • Permutation of words: not significant
  • The position of the nonzero elements of 𝑋

are: Ω = 𝑖, 𝑙 𝑥

𝑖𝑙

  • 𝑋 Ω

Problem analysis (shortly)

  • NP-hard due to the sparsity constraint
  • If sparsity pattern Ω is fixed, the problem is

biquadratic, hence still nonconvex

  • The problem is convex
    • in 𝐷, if 𝑋 is fixed and normalization ignored
    • in 𝑋, if 𝐷 and Ω are fixed