slatex / sTeX-React

GNU Affero General Public License v3.0
3 stars 3 forks source link

Spacing Glitch #312

Open abchugh opened 4 months ago

abchugh commented 4 months ago

A content ERROR was logged by "Shamseldin Elkhatib" at the following url:

https://courses.voll-ki.fau.de/course-notes/ai-2?inDocPath=-pze619.w8vfq6.n73ijb%7E3bca1b5f

The issue as described by the user:

The slide is stretched out and the spacing is too spread. I have to scroll waayy down to get to the end of the slide and see the spread out content.

The text highlighted while reporting this issue:

Forward/Backward Algorithm for Smoothing

              Forward backward algorithm: returns the sequence of posterior distributions
โ„™(๐‘‹1)...โ„™(๐‘‹๐‘ก)
              given evidence
๐‘’1,...,๐‘’๐‘ก:

                                              function
                                          Forward-Backward(โŒฉ๐‘’1,...,๐‘’๐‘กโŒช,โ„™(๐‘‹0))

                                              ย ย 

                                              ย ย 

                                        ๐‘“:=โŒฉโ„™(๐‘‹0)โŒช

                                              ย ย 

                                              ย ย 

                                        ๐‘:=โŒฉ1,1,...โŒช

                                              ย ย 

                                              ย ย 

                                        ๐‘†:=โŒฉโ„™(๐‘‹0)โŒช

                                              ย ย 

                                              ย ย 

                                                for
                                            ๐‘–=1,...,๐‘ก
                                            do

                                              ย ย 

                                              ย ย 

                                        ๐‘“๐‘–:=
                                                      FORWARD
                                                    (๐‘“๐‘–โˆ’1,๐‘’๐‘–)
                                            /*
filtering
                                              */

                                              ย ย 

                                              ย ย 

                                                for
                                            ๐‘–=๐‘ก,...,1
                                            do

                                              ย ย 

                                              ย ย 

                                        ๐‘†๐‘–:=๐›ผ(๐‘“๐‘–ร—๐‘)
                                            /*
smoothing
                                              */

                                              ย ย 

                                              ย ย 

                                        ๐‘:=
                                                      BACKWARD
                                                    (๐‘,๐‘’๐‘–)

                                              ย ย 

                                              ย ย 

                                        return
                                            ๐‘†

                                              ย ย 

        (Note the discrepancy wrt
normalization
              between the derivation and the algorithm... why is this okay? ;))

        Time complexity
          linear
          in
๐‘ก
          (polytree
          inference),
Space complexity
          ๐’ช(๐‘กยท|๐Ÿ|).

The selected text was in the following section hierarchy:

INNERMOST SECTION FIRST

  1. GitLab: https://gl.mathhub.info/courses/FAU/AI/course/-/blob/main/source/probabilistic-reasoning/slides/Markov-smoothing-algo2.en.tex
    FetchURL: https://stexmmt.mathhub.info//:sTeX/fulldocument?archive=courses/FAU/AI/course&filepath=probabilistic-reasoning/slides/Markov-smoothing-algo2.en.xhtml&bindings=0_9_47B1rQJapY

  2. GitLab: https://gl.mathhub.info/courses/FAU/AI/course/-/blob/main/source/probabilistic-reasoning/sec/temporal-inference.en.tex
    FetchURL: https://stexmmt.mathhub.info//:sTeX/fulldocument?archive=courses/FAU/AI/course&filepath=probabilistic-reasoning/sec/temporal-inference.en.xhtml&bindings=0_0_3w4V6

  3. GitLab: https://gl.mathhub.info/courses/FAU/AI/course/-/blob/main/source/probabilistic-reasoning/sec/temporal-models.en.tex
    FetchURL: https://stexmmt.mathhub.info//:sTeX/fulldocument?archive=courses/FAU/AI/course&filepath=probabilistic-reasoning/sec/temporal-models.en.xhtml&bindings=0_0_3pgo

  4. GitLab: https://gl.mathhub.info/courses/FAU/AI/course/-/blob/main/source/course/sec/uncert.en.tex
    FetchURL: https://stexmmt.mathhub.info//:sTeX/fulldocument?archive=courses/FAU/AI/course&filepath=course/sec/uncert.en.xhtml&bindings=0_0_c

  5. GitLab: https://gl.mathhub.info/courses/FAU/AI/course/-/blob/main/source/course/notes/notes2.tex
    FetchURL: https://stexmmt.mathhub.info//:sTeX/fulldocument?archive=courses/FAU/AI/course&filepath=course/notes/notes2.xhtml