Research Article

[Retracted] Cross-Domain End-To-End Aspect-Based Sentiment Analysis with Domain-Dependent Embeddings

Algorithm 1

Multitask learning strategy: pseudocode for the multitask learning strategy in CD-E2EABSA.
Input: training data
Parameters: W, ED, θCRF
Output: Target model
(1)While training steps not end do:
(2)Generating minibatches for each domain data: Bs, Bt
(3)θLsSTM ⟵ f(W, es) (Equation (3))
(4)W, ∆ds, ∆θCRFs  ⟵ train(Bs) (Equation (7))
(5)θLtSTM ⟵ f(W, et) (Equation (3))
(6)W, ∆dt, ∆θCRFt ⟵ train(Bt) (Equation (7))
(7)Update W, dD
(8)End While