dr sanchez - slides - 2

Upload: gustavo-sanchez

Post on 22-Feb-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/24/2019 Dr Sanchez - Slides - 2

    1/40

    University of Maryland1Center for Advanced Life Cycle Engineering

    NTRODUCT ON TO

    MACH NE LEARN NG

    [email protected]

    Dr. Gusta! "#nchez

    University of Maryland2Center for Advanced Life Cycle Engineering

    Reca$$

    %as&c c!nce'ts( L&near A$ge%ra)

    Unc!nstra&ned O't&m&zat&!n and

    *r!%a%&$&t&es

    Understand

    %as&c c!nce'ts a%!ut regress&!n

    Ana$+se the 'r!'ert&es !, the Least "-uaresMeth!d

    G!a$ ,!r t!da+

  • 7/24/2019 Dr Sanchez - Slides - 2

    2/40

    University of Maryland3Center for Advanced Life Cycle Engineering

    Least "-uares Meth!d

    The Least "-uares Meth!d L"M/ &s 0&de$+used t! determ&ne m!de$s su&ta%$e t! ,&t

    e1'er&menta$ data.

    It 0as &nented %+ 2.33333 33333

    University of Maryland4Center for Advanced Life Cycle Engineering

    Least "-uares Meth!d

    In4567

    ) Legendre

    'u%$&shed th&s

    %!!8

    He&ntr!duced

    and

    named

    theL"M

  • 7/24/2019 Dr Sanchez - Slides - 2

    3/40

    University of Maryland5Center for Advanced Life Cycle Engineering

    In4569

    ) Gauss

    'u%$&shed th&s

    %!!8

    He stated thathe

    had used

    the

    meth!d s&nce

    4:97

    Least "-uares Meth!d

    University of Maryland6Center for Advanced Life Cycle Engineering

    Least "-uares Meth!d

    ;e$&ee &t !r n!t

  • 7/24/2019 Dr Sanchez - Slides - 2

    4/40

    University of Maryland7Center for Advanced Life Cycle Engineering

    Reca$$

    Three &m'!rtant resu$ts(

    L&near E-uat&!ns

    Unc!nstra&ned O't&m&zat&!n

    *r!%a%&$&t&es

    University of Maryland8Center for Advanced Life Cycle Engineering

    L&near "+stems

  • 7/24/2019 Dr Sanchez - Slides - 2

    5/40

    University of Maryland9Center for Advanced Life Cycle Engineering

    L&near "+stems

    I, M &sn!n

    s&ngu$ar) th&s

    e-uat&!n has !n$+

    !ne s!$ut&!n

    University of Maryland10Center for Advanced Life Cycle Engineering

    Unc!nstra&ned O't&m&zat&!n

  • 7/24/2019 Dr Sanchez - Slides - 2

    6/40

    University of Maryland11Center for Advanced Life Cycle Engineering

    Grad&ent

    University of Maryland12Center for Advanced Life Cycle Engineering

    The!rem

  • 7/24/2019 Dr Sanchez - Slides - 2

    7/40

    University of Maryland13Center for Advanced Life Cycle Engineering

    Grad&ent

    he gradient points in the direction of the greatest

    rate of increase!

    University of Maryland14Center for Advanced Life Cycle Engineering

    A %!!8 &ntended,!r 'e!'$e

    &nterested &n

    s!$&ng

    !'t&m&zat&!n

    'r!%$ems

  • 7/24/2019 Dr Sanchez - Slides - 2

    8/40

    University of Maryland15Center for Advanced Life Cycle Engineering

    *r!%a%&$&t+ The!r+

    Let , , , %e a set !, &nde'endentrand!m ar&a%$es) 0&th gauss&an

    d&str&%ut&!n

    1

    2

    ,

    University of Maryland16Center for Advanced Life Cycle Engineering

    "tandard N!rma$ D&str&%ut&!n

  • 7/24/2019 Dr Sanchez - Slides - 2

    9/40

    University of Maryland17Center for Advanced Life Cycle Engineering

    The>!&nt 'r!%a%&$&t+

    can %e c!m'uted as(

    , , , ,

    ?!&nt *r!%a%&$&t+

    University of Maryland18Center for Advanced Life Cycle Engineering

    "t!'=

    N! m!re) ,!r n!0(

    L&near E-uat&!ns

    Unc!nstra&ned O't&m&zat&!n

    *r!%a%&$&t&es

  • 7/24/2019 Dr Sanchez - Slides - 2

    10/40

    University of Maryland19Center for Advanced Life Cycle Engineering

    *r!%$em !rmu$at&!n

    e need a m!de$ that+&e$ds a Bg!!d

    est&mat&!n !, the des&red

    res'!nse( !ut'ut /0hen g&en an attr&%ute

    ar&a%$e as&n'ut

    /

    Target unct&!n

    Attr&%ute ar&a%$e

    Res'!nse ar&a%$e

    University of Maryland20Center for Advanced Life Cycle Engineering

    Learn&ng *r!cess

    De,&ne the Learn&ng *r!%$em C!$$ect Data *re*r!cess "e$ect m!de$) tra&n&ng a$g!r&thm) etc.Tra&n&nga$&date

  • 7/24/2019 Dr Sanchez - Slides - 2

    11/40

    University of Maryland21Center for Advanced Life Cycle Engineering

    Data

    ( O$+m'&cs 466m 0&nn&ng t&me

    R!gers and G&r!$an&

  • 7/24/2019 Dr Sanchez - Slides - 2

    12/40

    University of Maryland23Center for Advanced Life Cycle Engineering

    L&near M!de$s

    The s&m'$est m!de$ 0e can

    assume &s the$&near(

    &nn&ng t&me

    !ut'ut/

    O$+m'&cs

    num%er

    &n'ut/

    Un8n!0n

    *arameters

    University of Maryland24Center for Advanced Life Cycle Engineering

    hat &s a g!!d m!de$3

    ?ust &n er+ s&m'$e cases a $&near m!de$0&$$ +&e$d !ut'uts that

    match

    e1act$+ the

    des&red !ut'uts.

    &rst ans0er

    ( a g!!d m!de$ +&e$ds

    !ut'uts as near as '!ss&%$e t! des&reda$ues g&en &n'ut a$ues

  • 7/24/2019 Dr Sanchez - Slides - 2

    13/40

    University of Maryland25Center for Advanced Life Cycle Engineering

    L!ss unct&!n

    @!r an+ data 'a&r , de,&ne a L!ssunct&!n(

    ,! " #, #

    $! " #, #

    University of Maryland26Center for Advanced Life Cycle Engineering

    Aerage L!ss unct&!n

    1% & ,! " #, #

    Aerage $!ss acr!ssthe 0h!$e data set

  • 7/24/2019 Dr Sanchez - Slides - 2

    14/40

    University of Maryland27Center for Advanced Life Cycle Engineering

    &rst *r!%$em !rmu$at&!n

    @&nd&ng a g!!d m!de$ &s e-u&a$ent t! s!$e(

    '()#, #

    #, #%+ Legendre

    0here &s c!nt&nu!s$+ d&,,erent&a%$e &n

    University of Maryland28Center for Advanced Life Cycle Engineering

    H!0 t! ,&nd a s!$ut&!n3

    "u''!se 0e 8n!0 the s!$ut&!n+) then %+the The!rem 0e 8n!0 that(

    # +

    -

    # +

    -

  • 7/24/2019 Dr Sanchez - Slides - 2

    15/40

    University of Maryland29Center for Advanced Life Cycle Engineering

    A g!!d cand&date

    #+. $1% . .

    . $1% .

    #+

    1

    % & $

    #+

    % &

    University of Maryland30Center for Advanced Life Cycle Engineering

    Data

    ( O$+m'&cs 466m 0&nn&ng t&me

  • 7/24/2019 Dr Sanchez - Slides - 2

    16/40

    University of Maryland31Center for Advanced Life Cycle Engineering

    ## /0 1

    ! " #, # /0

    ect!r !rmu$at&!n

    University of Maryland32Center for Advanced Life Cycle Engineering

    ect!r !rmu$at&!n

    1% & $ /0

    /3

    /45/6

    75

  • 7/24/2019 Dr Sanchez - Slides - 2

    17/40

    University of Maryland33Center for Advanced Life Cycle Engineering

    8 + =87"u''!se 0e 8n!0 the s!$ut&!n+) then %+the The!rem 0e 8n!0 that(

    "+stem !,

    L&near E-uat&!ns

    ect!r !rmu$at&!n

    University of Maryland34Center for Advanced Life Cycle Engineering

  • 7/24/2019 Dr Sanchez - Slides - 2

    18/40

    University of Maryland35Center for Advanced Life Cycle Engineering

  • 7/24/2019 Dr Sanchez - Slides - 2

    19/40

    University of Maryland37Center for Advanced Life Cycle Engineering

    E1am'$e( ne0 data

    University of Maryland38Center for Advanced Life Cycle Engineering

  • 7/24/2019 Dr Sanchez - Slides - 2

    20/40

    University of Maryland39Center for Advanced Life Cycle Engineering

    =FG -@2A2

    University of Maryland40Center for Advanced Life Cycle Engineering

    :; -@-H

    CD=>FG -@-2

    Data

    ( O$+m'&cs 466m 0&nn&ng t&me

  • 7/24/2019 Dr Sanchez - Slides - 2

    21/40

    University of Maryland41Center for Advanced Life Cycle Engineering

    hat &s a g!!d m!de$3

    A Bg!!d m!de$ must a$s! %e a%$e t!generate the m!st

    accurate 'red&ct&!ns

    e sa+ that &t mustgenera$&se

    %e+!nd

    the data 0e hae used ,!r tra&n&ng

    University of Maryland42Center for Advanced Life Cycle Engineering

    Oer,&tt&ng

    The th !rder m!de$ ,&ts the tra&n&ngdata accurate$+) %ut &ts 'red&ct&!ns ,!r

    ne1t O$+m'&cs are '!!r=

    Th&s &s 8n!0n as!er,&tt&ng

  • 7/24/2019 Dr Sanchez - Slides - 2

    22/40

    University of Maryland43Center for Advanced Life Cycle Engineering

    One 0a+ t! detect

    !er,&tt&ng &s t! use

    aa$&dat&!n data set

    n!t used ,!r

    tra&n&ng/ t! test the

    'red&ct&e

    'er,!rmance

    !, the

    m!de$

    a$&dat&!n Data

    University of Maryland44Center for Advanced Life Cycle Engineering

    Cr!ss a$&dat&!n

    Aa&$a%$e

    Data

    4"et 4

    "et ect&e,!rmu$at&!n/

    University of Maryland80Center for Advanced Life Cycle Engineering

    C!mments

    Th&s 'resentat&!n) c!de and dataMat$a%/ 0&$$ %e aa&$a%$e !n Canas