add several slides and delete template ones

This commit is contained in:
lukas-heiligenbrunner 2023-03-20 11:39:36 +01:00
parent 01e0cfab7a
commit 88a55247d0

View File

@ -3,7 +3,7 @@
% Struktur und Pointer Referat % Struktur und Pointer Referat
% 20.04.2020 % 20.04.2020
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
\usetheme[nofirafonts]{focus} \usetheme{focus}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
@ -74,6 +74,7 @@
% SECTION 1 % SECTION 1
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
% todo pic of action % todo pic of action
\section{The goal} \section{The goal}
\begin{frame}{The goal} \begin{frame}{The goal}
\begin{itemize} \begin{itemize}
@ -87,8 +88,8 @@
\item dancing \item dancing
\item playing violin \item playing violin
\end{itemize} \end{itemize}
\item as generic as possible
\end{itemize} \end{itemize}
\end{frame} \end{frame}
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
@ -109,7 +110,7 @@
\end{itemize} \end{itemize}
\item Labeling Samples very expensive \item Labeling Samples very expensive
\begin{itemize} \begin{itemize}
\item avoid! \item Avoid!
\end{itemize} \end{itemize}
\item Tremendous amount of unlabled data \item Tremendous amount of unlabled data
\begin{itemize} \begin{itemize}
@ -121,18 +122,50 @@
%------------------------------------------------ %------------------------------------------------
\begin{frame}{Whats already been done} \begin{frame}{What's all about Semi supervised?}
\begin{itemize} \begin{itemize}
\item pseudo-labeling \item Supervised learning
\begin{itemize}
\item Data samples
\item Target labels
\item Each sample is associated to target label
\end{itemize}
\item Unsupervised learning
\begin{itemize}
\item Data samples
\item target is to find patterns in data
\item without supervision
\end{itemize}
\item Semi-Supervised learning
\begin{itemize}
\item combination of both
\item have labeled \& unlabeled data
\item labeled data guides learning process
\item unlabled helps to gain additional information
\item goal is performance improvement
\end{itemize}
\end{itemize} \end{itemize}
\end{frame} \end{frame}
%------------------------------------------------ %------------------------------------------------
\begin{frame}{Pointer in Java} \begin{frame}[allowframebreaks]{What's already been done}
\begin{itemize} \begin{itemize}
\item Alle Objekte automatisch Pointer \item Pseudo-labeling
\item Primitives (int, float, double) keine Pointer \item Train model on labeled data
\begin{itemize}
\item Eg. 1\% of data labeled
\end{itemize}
\item Confidence of prediction
\item If high enough
\item Use to predict unlabeled data
\end{itemize}
\framebreak
\begin{itemize}
\item quantity and quality of pseudo-labels
\item significant impact on main model accuracy!
\item we want to improve pseudo-label framework as much as possible
\end{itemize} \end{itemize}
\end{frame} \end{frame}
@ -140,179 +173,50 @@
% SECTION 2 % SECTION 2
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
\section{Cross-Model Pseudo-Labeling}
\section{Strukturen} % Section title slide, unnumbered \begin{frame}[allowframebreaks]{Papers approach}
%------------------------------------------------
\begin{frame}{Strukturen Allgemein}
\begin{itemize} \begin{itemize}
\item kategorisieren von Variablen \item Based on complementary-representations of model
\item Models of different size
\item Different structural-bias $\rightarrow$ different category-wise performance
\item Small model
\begin{itemize} \begin{itemize}
\item Variablen \textit{(int, char, double, float)} \item lower capacity
\item Pointer \item better captures temporal dynamics in recognizing actions
\item Arrays \end{itemize}
\item Large model
\begin{itemize}
\item better learns spatial semantics
\item to distinguish different action instances
\end{itemize} \end{itemize}
\item Keyword \textit{struct}
\item verbessert Übersicht
\item Schritt Richtung Objektorientierung
\item ideal für Listen und Baumstruktur
\end{itemize} \end{itemize}
\end{frame}
%------------------------------------------------
\begin{frame}[fragile, allowframebreaks]{C Syntax}
Definition:
\begin{lstlisting}
struct Adresse {
char name[50];
int *nummer;
short hausnummer;
long plz;
};\end{lstlisting}
Anwendung:
\begin{lstlisting}
// Variable der Struktur erstellen
struct Adresse adresseKurt;
// Zugriff auf die Elemente
strcpy(adresseKurt.name, "Kurt Kanns");
adresseKurt.hausnummer = 23;
int nr = 4;
adresseKurt.nummer = &nr;
adresseKurt.plz = 45678;\end{lstlisting}
\framebreak \framebreak
Typdefinition mit typedef:
\begin{lstlisting}
struct Adresse {
char name[50];
short hausnummer;
};
typedef struct Adresse Adr;
Adr a1,a2; // Datentyp Adr
\end{lstlisting}
Kombination:
\begin{lstlisting}
typedef struct Adresse {
char name[50];
short hausnummer;
} Adr;
Adr a1,a2; // Datentyp Adr
\end{lstlisting}
\end{frame}
\begin{frame}{Sonstiges}
\begin{itemize} \begin{itemize}
\item Strukturtypdeklaration: struct Adresse \{\}; \item Cross-Model Pseudo-Labeling
\item Zugriff auf einzelne Komponenten durch\\ \item Primary backbone
Punktnotation: (Adresse1.Vorname = “Peter“); \item Supplemented by lightweight auxiliary network
\item Pfeilnotation (->) wenn struct Pointer \begin{itemize}
\item Gesamtlänge der Struktur: sizeof(<Struktur>) \item Different structure
\item Weiteres hinzufügen von Komponenten während der Laufzeit nicht möglich. \item Fewer channels
\end{itemize}
\item Different representation of data complements primary backbone
\end{itemize} \end{itemize}
\end{frame} \end{frame}
%------------------------------------------------
\begin{frame}[fragile]{Strukturen als Funktionsargument} \begin{frame}{Performance glance}
Ohne Typedef: todo the pic of the performance graph
\begin{lstlisting}
void testfunc(struct Adresse a){
long plz = a.plz;
}
\end{lstlisting}
Mit Typedef:
\begin{lstlisting}
void testfunc(Adr a){
long plz = a.plz;
}
\end{lstlisting}
\end{frame} \end{frame}
%------------------------------------------------
\begin{frame}[fragile]{Strukturen in Java}
\begin{itemize}
\item existieren nicht
\item stattdessen Klassen
\end{itemize}
\begin{lstlisting}[language=java]
public class Adresse
{
String name;
String strasse;
short hausnummer;
long plz;
String stadt;
}
\end{lstlisting}
\end{frame}
%----------------------------------------------------------------------------------------
% SECTION 3
%----------------------------------------------------------------------------------------
\section{Anwendung} % Section title slide, unnumbered % --- THE END
%------------------------------------------------
\begin{frame}[fragile]{Struktur als Pointer}
\begin{lstlisting}
struct mystruct {
int data;
};
typedef struct MyStruct MyStruct;
void beispiel(MyStruct * str) {
int d = str->data;
int dd = (*str).data; // equivalent
}
int main(){
MyStruct struc;
struc.data = 5;
beispiel(&struc);
return 0;
}
\end{lstlisting}
\end{frame}
%------------------------------------------------
\begin{frame}[fragile]{Verkettete Listen}
\begin{lstlisting}
struct node {
int data;
struct node* next; /* Typ Node hier nicht moeglich
da erst spaeter definiert */
};
typedef struct node Node;
void beispiel() {
// Erstellen von root
Node *root = malloc(sizeof(Node));
root->data = 17;
// Anhaengen eines Knotens
Node *secondNode = malloc(sizeof(Node));
root->next = secondNode;
secondNode->data = 19;
}
\end{lstlisting}
\end{frame}
%------------------------------------------------
\begin{frame}[focus] \begin{frame}[focus]
Danke für eure Aufmerksamkeit! Thanks for your Attention!
\end{frame} \end{frame}
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
@ -321,7 +225,7 @@ void beispiel() {
\appendix \appendix
\begin{frame}{Quellen} \begin{frame}{Sources}
\nocite{*} % Display all references regardless of if they were cited \nocite{*} % Display all references regardless of if they were cited
\bibliography{sources} \bibliography{sources}
\bibliographystyle{plain} \bibliographystyle{plain}