parent
9ddc0df6bb
commit
c792a8783a
@ -1 +0,0 @@
|
||||
build/
|
||||
@ -1,22 +0,0 @@
|
||||
PROJECT(latex_project NONE)
|
||||
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
SET(LATEX_OUTPUT_PATH build)
|
||||
INCLUDE(UseLATEX.cmake)
|
||||
|
||||
file(GLOB_RECURSE contents_files RELATIVE ${CMAKE_SOURCE_DIR} contents/*.tex)
|
||||
|
||||
#Copy beamer theme
|
||||
file(COPY ${CMAKE_SOURCE_DIR}/beamer_theme/ DESTINATION ./ )
|
||||
|
||||
|
||||
ADD_LATEX_DOCUMENT(
|
||||
example.tex
|
||||
#INPUTS ${contents_files}
|
||||
#IMAGE_DIRS ./
|
||||
BIBFILES lib.bib
|
||||
#USE_INDEX
|
||||
#USE_GLOSSARY
|
||||
#FILTER_OUTPUT
|
||||
)
|
||||
@ -1,2 +0,0 @@
|
||||
# BeamerStuttgartPas
|
||||
Beamer Theme for Uni Stuttgart IPVS PAS.
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,17 +0,0 @@
|
||||
\mode<presentation>
|
||||
|
||||
% Settings
|
||||
\setbeamercolor*{title page header}{fg=blue}
|
||||
\setbeamercolor*{subtitle page header}{fg=black}
|
||||
|
||||
\setbeamercolor*{title frametitle}{fg=black}
|
||||
\setbeamercolor*{subtitle frametitle}{fg=black}
|
||||
|
||||
\setbeamercolor*{author}{fg=red}
|
||||
\setbeamercolor*{date}{fg=black}
|
||||
\setbeamercolor*{item}{fg=black}
|
||||
\setbeamercolor*{upper separation line foot}{bg=blue}
|
||||
\setbeamercolor*{lower separation line head}{bg=blue}
|
||||
|
||||
\mode
|
||||
<all>
|
||||
@ -1,8 +0,0 @@
|
||||
|
||||
|
||||
\setbeamerfont{pagenumber footline}{size=\large,series=\bfseries}
|
||||
\setbeamerfont{frametitle}{size=\Large,series=\bfseries}
|
||||
\setbeamerfont{framesubtitle}{size=\small,shape=\itshape,series=\bfseries}
|
||||
|
||||
\setbeamerfont{title}{size=\Large,series=\bfseries}
|
||||
\setbeamerfont{subtitle}{size=\small,series=\bfseries}
|
||||
@ -1,49 +0,0 @@
|
||||
% should cover
|
||||
% + Title and part pages.
|
||||
% + Itemize environments.
|
||||
% + Enumerate environments.
|
||||
% + Description environments.
|
||||
% + Block environments.
|
||||
% + Theorem and proof environments.
|
||||
% + Figures and tables.
|
||||
% + Footnotes.
|
||||
% + Bibliography entries.
|
||||
|
||||
\mode<presentation>
|
||||
|
||||
|
||||
% Title page
|
||||
\defbeamertemplate*{title page}{pas}[1][]
|
||||
{
|
||||
\vskip1.8cm%
|
||||
\begin{beamercolorbox}[wd=10cm,leftskip=1.4cm,sep=8pt,center,#1]{title page header}
|
||||
\usebeamerfont{title}\inserttitle%
|
||||
\ifx\insertsubtitle\@empty%
|
||||
\strut\par%
|
||||
\else
|
||||
\vskip1ex
|
||||
\par{\usebeamerfont*{subtitle}{\usebeamercolor[fg]{subtitle}\insertsubtitle}\strut\par}%
|
||||
\fi%%
|
||||
\end{beamercolorbox}%
|
||||
\vskip3ex%
|
||||
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,center,#1]{author}
|
||||
\usebeamerfont{author}\insertauthor%
|
||||
\end{beamercolorbox}
|
||||
\vskip0.2cm%
|
||||
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,center,#1]{date}
|
||||
\usebeamerfont{author}\insertdate%
|
||||
\end{beamercolorbox}
|
||||
\vfill
|
||||
}
|
||||
|
||||
|
||||
|
||||
% Items
|
||||
\setbeamertemplate{items}[square]
|
||||
\setbeamertemplate{sections/subsections in toc}[square]
|
||||
|
||||
%bibliography
|
||||
\setbeamertemplate{bibliography item}[text]
|
||||
|
||||
\mode
|
||||
<all>
|
||||
@ -1,68 +0,0 @@
|
||||
% Should cover:
|
||||
% + The head- and footline.
|
||||
% + The sidebars.
|
||||
% + The logo.
|
||||
% + The frame title.
|
||||
|
||||
\mode<presentation>
|
||||
|
||||
%define logos
|
||||
\def\unilogofull{%
|
||||
\raisebox{0pt}{\includegraphics[height=18pt]{logos/unilogo.png}}%
|
||||
}
|
||||
\def\inslogo{
|
||||
\raisebox{2pt}{\includegraphics[height=15pt]{logos/inslogo.png}}%
|
||||
}
|
||||
\def\deplogo{
|
||||
\raisebox{2pt}{\includegraphics[height=15pt]{logos/deplogo.png}}%
|
||||
}
|
||||
\def\unilogo{
|
||||
\raisebox{1pt}{\includegraphics[height=18pt]{logos/unilogo_short.png}}%
|
||||
}
|
||||
|
||||
% Frame title
|
||||
\defbeamertemplate*{frametitle}{pas}
|
||||
{
|
||||
\vskip10pt%
|
||||
\begin{beamercolorbox}[wd=\paperwidth,leftskip=1.2cm,rightskip=1.2cm plus1fil,vmode]{frametitle}
|
||||
\usebeamerfont*{frametitle}\insertframetitle%
|
||||
\ifx\insertframesubtitle\@empty%
|
||||
\strut\par%
|
||||
\else
|
||||
\par{\usebeamerfont*{framesubtitle}{\usebeamercolor[fg]{framesubtitle}\insertframesubtitle}\strut\par}%
|
||||
\fi%%
|
||||
\usebeamerfont{headline}%
|
||||
\vskip.5ex
|
||||
\end{beamercolorbox}%
|
||||
\nointerlineskip
|
||||
\begin{beamercolorbox}[colsep=0.41pt]{upper separation line foot}
|
||||
\end{beamercolorbox}
|
||||
}
|
||||
|
||||
|
||||
% Foot line
|
||||
\defbeamertemplate*{footline}{pas}
|
||||
{%
|
||||
\nointerlineskip%
|
||||
\begin{beamercolorbox}[colsep=0.1pt]{upper separation line foot}
|
||||
\end{beamercolorbox}
|
||||
\begin{beamercolorbox}[ht=20pt,dp=3pt,%
|
||||
leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}%
|
||||
\ifnum\thepage=1\relax%
|
||||
{%
|
||||
\inslogo%
|
||||
%\deplogo%
|
||||
\hfill\unilogofull
|
||||
}%
|
||||
\else%
|
||||
{%
|
||||
\unilogo%
|
||||
\inslogo%
|
||||
\hfill\raisebox{3pt}{\usebeamerfont{pagenumber footline}\insertpagenumber}
|
||||
}%
|
||||
\fi
|
||||
|
||||
\end{beamercolorbox}%
|
||||
}
|
||||
|
||||
\mode<all>
|
||||
@ -1,20 +0,0 @@
|
||||
% The template bases on beamer
|
||||
% http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/www.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf
|
||||
% notes:
|
||||
% default beamer framesize 128mm x 96mm
|
||||
|
||||
\mode<presentation>
|
||||
|
||||
% Requirement
|
||||
\RequirePackage{tikz}
|
||||
|
||||
% Settings
|
||||
\useinnertheme{pas}
|
||||
\useoutertheme{pas}
|
||||
\usecolortheme{pas}
|
||||
\usefonttheme{pas}
|
||||
|
||||
\setbeamertemplate{navigation symbols}{}
|
||||
\setbeamertemplate{blocks}[rounded][shadow=true]
|
||||
|
||||
\mode<all>
|
||||
@ -1,6 +0,0 @@
|
||||
@misc{BaseOn,
|
||||
title={{Design a custom Beamer theme from scratch}},
|
||||
url={http://tex.stackexchange.com/questions/146529/design-a-custom-beamer-theme-from-scratch/146682#146682},
|
||||
howpublished = "\url{http://tex.stackexchange.com/questions/146529/design-a-custom-beamer-theme-from-scratch/146682#146682}",
|
||||
year = {2014}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 33 KiB |
Binary file not shown.
@ -1,255 +0,0 @@
|
||||
\documentclass[
|
||||
xcolor={svgnames},
|
||||
hyperref={colorlinks,citecolor=DeepPink4,linkcolor=DarkRed,urlcolor=DarkBlue}
|
||||
]{beamer}
|
||||
|
||||
% define using customized theme.
|
||||
\usetheme{pas}
|
||||
|
||||
% define using packages
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage {minted}
|
||||
|
||||
% the general information.
|
||||
\title[] % (optional, only for long titles)
|
||||
{Citation Intent Classification}
|
||||
\subtitle{Identifying the Intent of a Citation in scientific papers}
|
||||
|
||||
\author[tmip, hieutt] % (optional, for multiple authors)
|
||||
{Isaac Riley and Pavan Mandava}
|
||||
\institute[Universities Here and There] % (optional)
|
||||
{
|
||||
\inst{1}%
|
||||
Computational Linguistics, M.Sc.\\
|
||||
\and
|
||||
\inst{2}%
|
||||
Computational Linguistics, M.Sc.\\
|
||||
}
|
||||
\date[] % (optional)
|
||||
{May 20, 2020}
|
||||
\subject{Computational Linguistics}
|
||||
|
||||
|
||||
|
||||
% begin presentation content
|
||||
\begin{document}
|
||||
|
||||
%%%% Slide : 1 -- INTRO
|
||||
\begin{frame}
|
||||
\titlepage
|
||||
\centering
|
||||
\href{https://drive.google.com/u/0/uc?id=1eO_M2X5YSs_uAGQ2XdiylV7QbEVfjCKV&export=download}{Download Source Code}
|
||||
\end{frame}
|
||||
|
||||
|
||||
%%%% TASK DESCRIPTION ----- Slide 2
|
||||
\begin{frame}
|
||||
\frametitle{Task Description}
|
||||
|
||||
\begin{itemize}
|
||||
|
||||
\item Identifying intent of a citation in scientific papers
|
||||
\bigskip
|
||||
\item Three Intent categories/classes from the data set
|
||||
\begin{enumerate}
|
||||
\item background (background information)
|
||||
\item method (use of methods/tools)
|
||||
\item result (comparing results)
|
||||
\end{enumerate}
|
||||
\bigskip
|
||||
\item {\bf Classification Task }
|
||||
\begin{itemize}
|
||||
\item Assign a discrete class (intent) for each data point
|
||||
\end{itemize}
|
||||
\end{itemize}
|
||||
|
||||
\end{frame}
|
||||
|
||||
%%%% DATA SET ---- Slide 3
|
||||
\begin{frame}
|
||||
\frametitle{Data set}
|
||||
|
||||
\begin{itemize}
|
||||
\item Training Data: 8.2K+ data points
|
||||
\begin{enumerate}
|
||||
\item background - 4.8K
|
||||
\item method - 2.3K
|
||||
\item result - 1.1K
|
||||
\end{enumerate}
|
||||
\item Testing Data: 1.8K data points
|
||||
\begin{enumerate}
|
||||
\item background - 1K
|
||||
\item method - 0.6K
|
||||
\item result - 0.2K
|
||||
\end{enumerate}
|
||||
\end{itemize}
|
||||
|
||||
\begin{table}
|
||||
\begin{tabular}{| l | c | c} \hline
|
||||
4 lead to a decrease in SC absorption in mice & \\
|
||||
(Deng et al., 2010; Deng et al., 2012). & background \\
|
||||
\hline
|
||||
We used an active contour algorithm [10] to segment & \\
|
||||
organs from 340 coronal slices over the two patients. & method \\
|
||||
\hline
|
||||
Similar results were found by Sideris et al. (1999) in & \\
|
||||
Greece and Mohebali et al. (2005) in Iran. & result \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
|
||||
\caption{Sample Dataset}
|
||||
\end{table}
|
||||
|
||||
\end{frame}
|
||||
|
||||
|
||||
%%%% Approach/Architectures ---- Slide 4
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{Approach \& Architecture}
|
||||
\framesubtitle{Classifier Implementation}
|
||||
|
||||
Base Classifier: {\bf {\color{red} Perceptron}}
|
||||
\begin{itemize}
|
||||
\item Linear Classifier
|
||||
\item Binary Classifier
|
||||
\end{itemize}
|
||||
|
||||
\begin{minted}[autogobble, breaklines,breakanywhere, fontfamily=helvetica, fontsize=\small]{python}
|
||||
class Perceptron:
|
||||
def __init__(self, label: str, weights: dict, theta_bias: float)
|
||||
def score(self, features: list)
|
||||
def update_weights(self, features: list, learning_rate: float, penalize: bool, reward: bool)
|
||||
|
||||
class MultiClassPerceptron:
|
||||
def __init__(self, epochs: int,learning_rate: float,random_state: int)
|
||||
def fit(self, X_train: list, labels: list)
|
||||
def predict(self, X_test: list)
|
||||
|
||||
\end{minted}
|
||||
\bigskip
|
||||
- {\bf Parameters} and {\bf Hyperparameters}
|
||||
|
||||
\end{frame}
|
||||
|
||||
|
||||
|
||||
%%%% Approach/Architectures ---- Slide 5
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{Approach \& Architecture}
|
||||
\framesubtitle{Feature Representation}
|
||||
|
||||
Lexicons and Regular Expressions ($\approx$ 30 Features)
|
||||
\bigskip
|
||||
|
||||
\begin{itemize}
|
||||
\item LEXICONS
|
||||
\begin{minted}[autogobble, breaklines,breakanywhere, fontfamily=helvetica, fontsize=\small]{python}
|
||||
ALL_LEXICONS = {
|
||||
'INCREASE': ['increase', 'grow', 'intensify', 'build up', 'explode'],
|
||||
'USE': ['use', 'using', 'apply', 'applied', 'employ', 'make use'],
|
||||
.....
|
||||
}
|
||||
\end{minted}
|
||||
\bigskip
|
||||
\item REGEX
|
||||
\begin{itemize}
|
||||
\item $ACRONYM$
|
||||
\item $CONTAINS\_URL$
|
||||
\item $ENDS\_WITH\_ETHYL$
|
||||
\end{itemize}
|
||||
\end{itemize}
|
||||
|
||||
\end{frame}
|
||||
|
||||
%%%% Evaluation ---- Slide 6
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{Evaluation of the Classifier}
|
||||
\framesubtitle{F1 Score}
|
||||
|
||||
\bigskip
|
||||
|
||||
\begin{itemize}
|
||||
\item F1 Score
|
||||
\begin{itemize}
|
||||
\item weighted average of Precision and Recall
|
||||
\end{itemize}
|
||||
\bigskip
|
||||
\begin{minted}[autogobble, breaklines,breakanywhere, fontfamily=helvetica]{python}
|
||||
def f1_score(y_true, y_pred, labels, average)
|
||||
\end{minted}
|
||||
\bigskip
|
||||
\item Averaging
|
||||
\begin{itemize}
|
||||
\item MACRO
|
||||
\item MICRO
|
||||
\item None
|
||||
\end{itemize}
|
||||
\bigskip
|
||||
\item Why {\color{red} MACRO} and {\color{red}MICRO} ?
|
||||
|
||||
\end{itemize}
|
||||
|
||||
\end{frame}
|
||||
|
||||
%%%% Results ---- Slide 7
|
||||
\begin{frame}
|
||||
\frametitle{Model Performance}
|
||||
\framesubtitle{Results}
|
||||
|
||||
\begin{table}
|
||||
\def\arraystretch{1.5}
|
||||
{\setlength{\tabcolsep}{2em}
|
||||
\begin{tabular}{| l | c | c |} \hline
|
||||
{\bf Averaging} & {\bf Score} \\
|
||||
\hline \hline
|
||||
MICRO & 0.64 \\
|
||||
\hline
|
||||
MACRO & 0.57 \\
|
||||
\hline
|
||||
background & 0.72 \\
|
||||
method & 0.54 \\
|
||||
result & 0.46 \\
|
||||
\hline
|
||||
\end{tabular}}
|
||||
|
||||
\caption{F1-Score Results}
|
||||
\end{table}
|
||||
|
||||
\end{frame}
|
||||
|
||||
|
||||
%%%% Next Steps ---- Slide 8
|
||||
\begin{frame}
|
||||
\frametitle{Next Steps}
|
||||
\begin{itemize}
|
||||
\item Better Feature Representation - Word Embeddings
|
||||
\begin{itemize}
|
||||
\item word2vec
|
||||
\item BERT
|
||||
\item ELMo
|
||||
\item \dots{}
|
||||
\end{itemize}
|
||||
|
||||
\item Better Classifier (Non-Linear / Neural Networks)
|
||||
\begin{itemize}
|
||||
\item BiRNNs
|
||||
\item BiLSTMs
|
||||
\item CNNs
|
||||
\item \dots{}
|
||||
\end{itemize}
|
||||
|
||||
\item Interaction with other groups
|
||||
\end{itemize}
|
||||
\end{frame}
|
||||
|
||||
%%%% THANK YOU -- Slide 9
|
||||
\begin{frame}
|
||||
\usebeamerfont{frametitle}\usebeamercolor[fg]{frametitle}
|
||||
\centering \Large
|
||||
Thanks for listening
|
||||
\end{frame}
|
||||
|
||||
\end{document}
|
||||
|
||||
|
||||
Loading…
Reference in new issue