diff --git a/.github/workflows/latex.yml b/.github/workflows/latex.yml new file mode 100644 index 0000000..ccd7ea5 --- /dev/null +++ b/.github/workflows/latex.yml @@ -0,0 +1,30 @@ +name: Build LaTeX document +on: [push] +jobs: + build_latex: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v2 + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v2 + with: + root_file: book_ML.tex + compiler: pdflatex + args: "" + working_directory: ./ + +# name: Build LaTeX document +# on: [push] +# jobs: +# build_latex: +# runs-on: ubuntu-latest +# steps: +# - name: Set up Git repository +# uses: actions/checkout@v2 +# - name: Compile LaTeX document +# uses: dante-ev/latex-action@latest +# with: +# root_file: book_ML.tex +# compiler: pdflatex +# args: "-synctex=1 -interaction=nonstopmode" diff --git a/book_ML.tex b/book_ML.tex index d4a7a62..549fcb4 100644 --- a/book_ML.tex +++ b/book_ML.tex @@ -67,55 +67,55 @@ \include{Chapters/03_SimpleML/3_linearregression2} \include{Chapters/01_Overview/15_overfitting2} -\setcounter{part}{2} -\setcounter{chapter}{8} -\input{Chapters/warmup2} -\include{Chapters/03_SimpleML/6_knn2} -\include{Chapters/03_SimpleML/4_kmeans2} -\include{Chapters/03_SimpleML/32_nbc2} - -\setcounter{part}{3} -\setcounter{chapter}{11} -\input{Chapters/neuralnets2} -\include{Chapters/04_GradientDescent/7_gradientdescent2} -\include{Chapters/05_NeuralNetworks/09_perceptron2} -\include{Chapters/05_NeuralNetworks/10_logisticregression2} -\include{Chapters/05_NeuralNetworks/13_softmax2} -\include{Chapters/05_NeuralNetworks/14_mlp2} - -\setcounter{part}{4} -\setcounter{chapter}{16} -\input{Chapters/recomsys2} -\input{Chapters/06_RecommendationSystems/23_contentbasedRS2} -\include{Chapters/06_RecommendationSystems/24_neighborhoodRS2} -\include{Chapters/06_RecommendationSystems/25_matrixfactorizationRS2} - -\setcounter{part}{5} -\setcounter{chapter}{19} -\input{Chapters/dimred2} -\input{Chapters/07_DimemsionalityReduction/dr_intro2} -\include{Chapters/07_DimemsionalityReduction/26_svd2} -\include{Chapters/07_DimemsionalityReduction/27_pca2} -\include{Chapters/07_DimemsionalityReduction/29_lda2} - -\setcounter{part}{6} -\setcounter{chapter}{22} -\input{Chapters/cvxopt2} -\include{Chapters/08_ConvexOptimization/16_convexity2} -\include{Chapters/08_ConvexOptimization/17_convexopt2} -\include{Chapters/08_ConvexOptimization/18_duality2} - -\setcounter{part}{7} -\setcounter{chapter}{25} -\input{Chapters/svm2} -\include{Chapters/09_SupportVectorMachines/19_svm2} -\include{Chapters/09_SupportVectorMachines/20_softmaginsvm2} -\include{Chapters/09_SupportVectorMachines/21_kernelsvm2} -\include{Chapters/09_SupportVectorMachines/22_multiclasssvm2} - -\appendix -\include{Chapters/lagrange2} -\include{Chapters/color2} +% \setcounter{part}{2} +% \setcounter{chapter}{8} +% \input{Chapters/warmup2} +% \include{Chapters/03_SimpleML/6_knn2} +% \include{Chapters/03_SimpleML/4_kmeans2} +% \include{Chapters/03_SimpleML/32_nbc2} + +% \setcounter{part}{3} +% \setcounter{chapter}{11} +% \input{Chapters/neuralnets2} +% \include{Chapters/04_GradientDescent/7_gradientdescent2} +% \include{Chapters/05_NeuralNetworks/09_perceptron2} +% \include{Chapters/05_NeuralNetworks/10_logisticregression2} +% \include{Chapters/05_NeuralNetworks/13_softmax2} +% \include{Chapters/05_NeuralNetworks/14_mlp2} + +% \setcounter{part}{4} +% \setcounter{chapter}{16} +% \input{Chapters/recomsys2} +% \input{Chapters/06_RecommendationSystems/23_contentbasedRS2} +% \include{Chapters/06_RecommendationSystems/24_neighborhoodRS2} +% \include{Chapters/06_RecommendationSystems/25_matrixfactorizationRS2} + +% \setcounter{part}{5} +% \setcounter{chapter}{19} +% \input{Chapters/dimred2} +% \input{Chapters/07_DimemsionalityReduction/dr_intro2} +% \include{Chapters/07_DimemsionalityReduction/26_svd2} +% \include{Chapters/07_DimemsionalityReduction/27_pca2} +% \include{Chapters/07_DimemsionalityReduction/29_lda2} + +% \setcounter{part}{6} +% \setcounter{chapter}{22} +% \input{Chapters/cvxopt2} +% \include{Chapters/08_ConvexOptimization/16_convexity2} +% \include{Chapters/08_ConvexOptimization/17_convexopt2} +% \include{Chapters/08_ConvexOptimization/18_duality2} + +% \setcounter{part}{7} +% \setcounter{chapter}{25} +% \input{Chapters/svm2} +% \include{Chapters/09_SupportVectorMachines/19_svm2} +% \include{Chapters/09_SupportVectorMachines/20_softmaginsvm2} +% \include{Chapters/09_SupportVectorMachines/21_kernelsvm2} +% \include{Chapters/09_SupportVectorMachines/22_multiclasssvm2} + +% \appendix +% \include{Chapters/lagrange2} +% \include{Chapters/color2} \backmatter%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \bibliographystyle{alpha}