mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
Add statistical tests figure
This commit is contained in:
parent
5ddf82b0a9
commit
bc3cf92577
4 changed files with 77 additions and 0 deletions
35
tikz/statistical-tests-taxonomy/Makefile
Normal file
35
tikz/statistical-tests-taxonomy/Makefile
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
SOURCE = statistical-tests-taxonomy
|
||||||
|
DELAY = 80
|
||||||
|
DENSITY = 300
|
||||||
|
WIDTH = 512
|
||||||
|
|
||||||
|
make:
|
||||||
|
pdflatex $(SOURCE).tex -output-format=pdf
|
||||||
|
make clean
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf $(TARGET) *.class *.html *.log *.aux *.data *.gnuplot
|
||||||
|
|
||||||
|
gif:
|
||||||
|
pdfcrop $(SOURCE).pdf
|
||||||
|
convert -verbose -delay $(DELAY) -loop 0 -density $(DENSITY) $(SOURCE)-crop.pdf $(SOURCE).gif
|
||||||
|
make clean
|
||||||
|
|
||||||
|
png:
|
||||||
|
make
|
||||||
|
make svg
|
||||||
|
inkscape $(SOURCE).svg -w $(WIDTH) --export-png=$(SOURCE).png
|
||||||
|
|
||||||
|
transparentGif:
|
||||||
|
convert $(SOURCE).pdf -transparent white result.gif
|
||||||
|
make clean
|
||||||
|
|
||||||
|
svg:
|
||||||
|
make
|
||||||
|
#inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg
|
||||||
|
pdf2svg $(SOURCE).pdf $(SOURCE).svg
|
||||||
|
# Necessary, as pdf2svg does not always create valid svgs:
|
||||||
|
inkscape $(SOURCE).svg --export-plain-svg=$(SOURCE).svg
|
||||||
|
rsvg-convert -a -w $(WIDTH) -f svg $(SOURCE).svg -o $(SOURCE)2.svg
|
||||||
|
inkscape $(SOURCE)2.svg --export-plain-svg=$(SOURCE).svg
|
||||||
|
rm $(SOURCE)2.svg
|
3
tikz/statistical-tests-taxonomy/README.md
Normal file
3
tikz/statistical-tests-taxonomy/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Compiled example
|
||||||
|
----------------
|
||||||
|

|
BIN
tikz/statistical-tests-taxonomy/statistical-tests-taxonomy.png
Normal file
BIN
tikz/statistical-tests-taxonomy/statistical-tests-taxonomy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
|
@ -0,0 +1,39 @@
|
||||||
|
\documentclass{article}
|
||||||
|
\usepackage[pdftex,active,tightpage]{preview}
|
||||||
|
\setlength\PreviewBorder{2mm}
|
||||||
|
|
||||||
|
\usepackage{tikz}
|
||||||
|
\usetikzlibrary{shapes.multipart, calc}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\begin{preview}
|
||||||
|
\begin{tikzpicture}
|
||||||
|
\tikzstyle{bplus}=[rectangle split, rectangle split horizontal,rectangle split ignore empty parts,draw, fill=white]
|
||||||
|
\tikzstyle{every node}=[bplus]
|
||||||
|
\tikzstyle{level 1}=[sibling distance=60mm]
|
||||||
|
\tikzstyle{level 2}=[sibling distance=15mm]
|
||||||
|
|
||||||
|
\node[draw=white] {\hphantom{i}}
|
||||||
|
child[sibling distance=80mm] {node {single domain}
|
||||||
|
child[sibling distance=80mm] {node {analyze classifiers}
|
||||||
|
child[sibling distance=40mm] {node {\parbox{2cm}{\centering predict\\classifier accuracy}}
|
||||||
|
child[sibling distance=20mm] {node {\parbox{1.5cm}{\centering large sample\\1}}}
|
||||||
|
child[sibling distance=20mm] {node {\parbox{1.5cm}{\centering small sample\\2}}}}
|
||||||
|
child[sibling distance=40mm] {node {\parbox{2cm}{\centering choose between classifiers}}
|
||||||
|
child[sibling distance=20mm] {node {\parbox{1.5cm}{\centering large sample\\3}}}
|
||||||
|
child[sibling distance=20mm] {node {\parbox{1.5cm}{\centering small sample\\4}}}}
|
||||||
|
}
|
||||||
|
child[sibling distance=80mm] {node {analyze algorithms}
|
||||||
|
child[sibling distance=40mm] {node {\parbox{2cm}{\centering predict\\algorithm accuracy}}
|
||||||
|
child[sibling distance=20mm] {node {\parbox{1.5cm}{\centering large sample\\5}}}
|
||||||
|
child[sibling distance=20mm] {node {\parbox{1.5cm}{\centering small sample\\6}}}}
|
||||||
|
child[sibling distance=40mm] {node {\parbox{2cm}{\centering choose between algorithms}}
|
||||||
|
child[sibling distance=20mm] {node {\parbox{1.5cm}{\centering large sample\\7}}}
|
||||||
|
child[sibling distance=20mm] {node {\parbox{1.5cm}{\centering small sample\\8}}}}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
child[sibling distance=80mm] {node {\parbox{2cm}{\centering multiple domains\\9}}
|
||||||
|
};
|
||||||
|
\end{tikzpicture}
|
||||||
|
\end{preview}
|
||||||
|
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue