Baum Welch algorithm descriptionTable align in description environmentWhat options are there to globally format tables also allowing local overrides?Problem with toprule: sometimes not boldHow to fix default table number and description separatorAlgorithm / algorithmicx horizontal lines in booktabs style
My friend is being a hypocrite
Do native speakers use "ultima" and "proxima" frequently in spoken English?
The average age of first marriage in Russia
Can a wizard cast a spell during their first turn of combat if they initiated combat by releasing a readied spell?
Knife as defense against stray dogs
Writing in a Christian voice
What is the relationship between relativity and the Doppler effect?
Light propagating through a sound wave
A Ri-diddley-iley Riddle
How are passwords stolen from companies if they only store hashes?
How can my new character not be a role-playing handicap to the party?
What favor did Moody owe Dumbledore?
In the 1924 version of The Thief of Bagdad, no character is named, right?
Maths symbols and unicode-math input inside siunitx commands
In Aliens, how many people were on LV-426 before the Marines arrived?
What if (if any) the reason to buy in small local stores?
Bash - pair each line of file
Calculate the frequency of characters in a string
How could an airship be repaired midflight?
gerund and noun applications
Print last inputted byte
Does the attack bonus from a Masterwork weapon stack with the attack bonus from Masterwork ammunition?
Dual Irish/Britsh citizens
Do I need to consider instance restrictions when showing a language is in P?
Baum Welch algorithm description
Table align in description environmentWhat options are there to globally format tables also allowing local overrides?Problem with toprule: sometimes not boldHow to fix default table number and description separatorAlgorithm / algorithmicx horizontal lines in booktabs style
I am trying to replicate this table, on the Baum Welch algorithm, for Hidden Markov Models. I can not put expressions in the center, I'm trying with begin align * ... end align *, but the problem is that the vertical line is deleted. Somebody could help me?
Expected Output:

usepackagetabularx
usepackagebooktabs
begintable[H]
centering
labeltabla4
begintabularxtextwidthX
toprule
textbfAlgorithm 5: The Baum-Welch algorithm \ midrule
textbfInitialization: \
$Theta_0, lbrace O_1:T rbrace$ \
\
textbfLooping: \
textbffor $l = 1,..., l_max$ textbfdo \
vline 1. Forward-Backward calculations:\
vline \
vline $alpha_1 (i) = pi_i b_i (O_1), beta_T (i) = 1$, \
vline $alpha_t (i) = left[ sum_j=1^K alpha_t-1 (j) a_ji right] b_j (O_t), beta_t (i) = sum_j=1^K a_ij b_j (O_t+1) beta_t+1 (j)$\
vline for $1 leq i leq K, 1 leq t leq T-1$\
vline \
vline 2. E-step: \
vline \
vline $gamma_t (i) = fracalpha_t (i) beta_t (i)sum_j=1^K alpha_t (j) beta_t (j), xi_t (i,j) = fracalpha_t (i) a_ij b_j (O_t+1) beta_t+1(j) sum_i=1^N sum_j=1^N alpha_t(i) a_ij b_j (O_t+1 beta_t (j))$ \
vline for $1 leq i leq K, 1 leq j leq K, 1 leq t leq T-1$\
vline \
vline 3. M-step: \
vline \
vline $pi_i = fracgamma_1 (i)sum_j=1^K gamma_1(j), a_ij = fracsum_t=1^T varepsilon_t (i,j) sum_k=1^K sum_t=1^T varepsilon_t (i, k), w_kd = fracsum_t=1^T gamma_t (k, d)sum_t=1^T sum_r=1^D gamma_t (k, r)$\
vline for $1 leq i leq K, 1 leq j leq K, 1 leq k leq K, 1 leq d leq D$\
textbfend \
\
textbfResult: $lbrace Theta_l rbrace^l_max_l=0 $ \ bottomrule
endtabularx
endtable
tabularx booktabs
New contributor
Rafael Díaz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am trying to replicate this table, on the Baum Welch algorithm, for Hidden Markov Models. I can not put expressions in the center, I'm trying with begin align * ... end align *, but the problem is that the vertical line is deleted. Somebody could help me?
Expected Output:

usepackagetabularx
usepackagebooktabs
begintable[H]
centering
labeltabla4
begintabularxtextwidthX
toprule
textbfAlgorithm 5: The Baum-Welch algorithm \ midrule
textbfInitialization: \
$Theta_0, lbrace O_1:T rbrace$ \
\
textbfLooping: \
textbffor $l = 1,..., l_max$ textbfdo \
vline 1. Forward-Backward calculations:\
vline \
vline $alpha_1 (i) = pi_i b_i (O_1), beta_T (i) = 1$, \
vline $alpha_t (i) = left[ sum_j=1^K alpha_t-1 (j) a_ji right] b_j (O_t), beta_t (i) = sum_j=1^K a_ij b_j (O_t+1) beta_t+1 (j)$\
vline for $1 leq i leq K, 1 leq t leq T-1$\
vline \
vline 2. E-step: \
vline \
vline $gamma_t (i) = fracalpha_t (i) beta_t (i)sum_j=1^K alpha_t (j) beta_t (j), xi_t (i,j) = fracalpha_t (i) a_ij b_j (O_t+1) beta_t+1(j) sum_i=1^N sum_j=1^N alpha_t(i) a_ij b_j (O_t+1 beta_t (j))$ \
vline for $1 leq i leq K, 1 leq j leq K, 1 leq t leq T-1$\
vline \
vline 3. M-step: \
vline \
vline $pi_i = fracgamma_1 (i)sum_j=1^K gamma_1(j), a_ij = fracsum_t=1^T varepsilon_t (i,j) sum_k=1^K sum_t=1^T varepsilon_t (i, k), w_kd = fracsum_t=1^T gamma_t (k, d)sum_t=1^T sum_r=1^D gamma_t (k, r)$\
vline for $1 leq i leq K, 1 leq j leq K, 1 leq k leq K, 1 leq d leq D$\
textbfend \
\
textbfResult: $lbrace Theta_l rbrace^l_max_l=0 $ \ bottomrule
endtabularx
endtable
tabularx booktabs
New contributor
Rafael Díaz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am trying to replicate this table, on the Baum Welch algorithm, for Hidden Markov Models. I can not put expressions in the center, I'm trying with begin align * ... end align *, but the problem is that the vertical line is deleted. Somebody could help me?
Expected Output:

usepackagetabularx
usepackagebooktabs
begintable[H]
centering
labeltabla4
begintabularxtextwidthX
toprule
textbfAlgorithm 5: The Baum-Welch algorithm \ midrule
textbfInitialization: \
$Theta_0, lbrace O_1:T rbrace$ \
\
textbfLooping: \
textbffor $l = 1,..., l_max$ textbfdo \
vline 1. Forward-Backward calculations:\
vline \
vline $alpha_1 (i) = pi_i b_i (O_1), beta_T (i) = 1$, \
vline $alpha_t (i) = left[ sum_j=1^K alpha_t-1 (j) a_ji right] b_j (O_t), beta_t (i) = sum_j=1^K a_ij b_j (O_t+1) beta_t+1 (j)$\
vline for $1 leq i leq K, 1 leq t leq T-1$\
vline \
vline 2. E-step: \
vline \
vline $gamma_t (i) = fracalpha_t (i) beta_t (i)sum_j=1^K alpha_t (j) beta_t (j), xi_t (i,j) = fracalpha_t (i) a_ij b_j (O_t+1) beta_t+1(j) sum_i=1^N sum_j=1^N alpha_t(i) a_ij b_j (O_t+1 beta_t (j))$ \
vline for $1 leq i leq K, 1 leq j leq K, 1 leq t leq T-1$\
vline \
vline 3. M-step: \
vline \
vline $pi_i = fracgamma_1 (i)sum_j=1^K gamma_1(j), a_ij = fracsum_t=1^T varepsilon_t (i,j) sum_k=1^K sum_t=1^T varepsilon_t (i, k), w_kd = fracsum_t=1^T gamma_t (k, d)sum_t=1^T sum_r=1^D gamma_t (k, r)$\
vline for $1 leq i leq K, 1 leq j leq K, 1 leq k leq K, 1 leq d leq D$\
textbfend \
\
textbfResult: $lbrace Theta_l rbrace^l_max_l=0 $ \ bottomrule
endtabularx
endtable
tabularx booktabs
New contributor
Rafael Díaz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am trying to replicate this table, on the Baum Welch algorithm, for Hidden Markov Models. I can not put expressions in the center, I'm trying with begin align * ... end align *, but the problem is that the vertical line is deleted. Somebody could help me?
Expected Output:

usepackagetabularx
usepackagebooktabs
begintable[H]
centering
labeltabla4
begintabularxtextwidthX
toprule
textbfAlgorithm 5: The Baum-Welch algorithm \ midrule
textbfInitialization: \
$Theta_0, lbrace O_1:T rbrace$ \
\
textbfLooping: \
textbffor $l = 1,..., l_max$ textbfdo \
vline 1. Forward-Backward calculations:\
vline \
vline $alpha_1 (i) = pi_i b_i (O_1), beta_T (i) = 1$, \
vline $alpha_t (i) = left[ sum_j=1^K alpha_t-1 (j) a_ji right] b_j (O_t), beta_t (i) = sum_j=1^K a_ij b_j (O_t+1) beta_t+1 (j)$\
vline for $1 leq i leq K, 1 leq t leq T-1$\
vline \
vline 2. E-step: \
vline \
vline $gamma_t (i) = fracalpha_t (i) beta_t (i)sum_j=1^K alpha_t (j) beta_t (j), xi_t (i,j) = fracalpha_t (i) a_ij b_j (O_t+1) beta_t+1(j) sum_i=1^N sum_j=1^N alpha_t(i) a_ij b_j (O_t+1 beta_t (j))$ \
vline for $1 leq i leq K, 1 leq j leq K, 1 leq t leq T-1$\
vline \
vline 3. M-step: \
vline \
vline $pi_i = fracgamma_1 (i)sum_j=1^K gamma_1(j), a_ij = fracsum_t=1^T varepsilon_t (i,j) sum_k=1^K sum_t=1^T varepsilon_t (i, k), w_kd = fracsum_t=1^T gamma_t (k, d)sum_t=1^T sum_r=1^D gamma_t (k, r)$\
vline for $1 leq i leq K, 1 leq j leq K, 1 leq k leq K, 1 leq d leq D$\
textbfend \
\
textbfResult: $lbrace Theta_l rbrace^l_max_l=0 $ \ bottomrule
endtabularx
endtable
tabularx booktabs
tabularx booktabs
New contributor
Rafael Díaz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Rafael Díaz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Rafael Díaz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 4 mins ago
Rafael DíazRafael Díaz
1012
1012
New contributor
Rafael Díaz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Rafael Díaz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Rafael Díaz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Rafael Díaz is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480005%2fbaum-welch-algorithm-description%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Rafael Díaz is a new contributor. Be nice, and check out our Code of Conduct.
Rafael Díaz is a new contributor. Be nice, and check out our Code of Conduct.
Rafael Díaz is a new contributor. Be nice, and check out our Code of Conduct.
Rafael Díaz is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480005%2fbaum-welch-algorithm-description%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown