iit-cs585 / assignments

Assignments for IIT CS585
3 stars 7 forks source link

Smoothing for Initial Probabilities #16

Closed Tsreenivasan closed 7 years ago

Tsreenivasan commented 7 years ago

Hi All,

Would we be using the Laplacian k-smoothing for the initial probabilities as well?

Example: k=.001 test_tags = [ ['D', 'N', 'V'], ['D', 'N', 'V'], ['V', 'N'], ['D', 'N', 'N', 'V'] ] |V|={D,N,V}

Would the calculation for the start probability be: image

P(Start=D)=> (3+.01)/(4+3*.01)

Can anyone confirm?

Regards Tejas

ranjeetkumar commented 7 years ago

Start probability for D is correct

Tsreenivasan commented 7 years ago

Thanks Ranjeet.