קובץ:Lda-gauss-1.svg

תוכן הדף אינו נתמך בשפות אחרות.
מתוך ויקיפדיה, האנציקלופדיה החופשית

לקובץ המקורי(קובץ SVG, הגודל המקורי: 899 × 543 פיקסלים, גודל הקובץ: 56 ק"ב)

ויקישיתוף זהו קובץ שמקורו במיזם ויקישיתוף. תיאורו בדף תיאור הקובץ המקורי (בעברית) מוצג למטה.

תקציר

תיאור
English: Normal distribution for a discriminant analysis
Deutsch: Normalverteilung bei einer Diskriminanzalayse
 
 
תאריך יצירה
מקור נוצר על־ידי מעלה היצירה
יוצר MartinThoma
 
W3C-validity not checked.

Source is available at github

LaTeX Code

\documentclass[varwidth=true, border=5pt]{article}
\usepackage[active,tightpage]{preview}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{pgfplots}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning} 
\usepackage{helvet}
\usepackage[eulergreek]{sansmath}

\pgfmathdeclarefunction{gauss}{2}{%
  \pgfmathparse{1/(sqrt(2*pi*#2))*exp(-((x-#1)^2)/(2*#2))}%
}
% to be used: \gauss(mean)(variance)

\pgfplotsset{
tick label style = {font=\sansmath\sffamily},
every axis label/.append style={font=\sffamily\footnotesize},
}

% Thanks to percusse for solving problems with the axis

\begin{document}
\begin{preview}
\tikzstyle{plotA}=[ultra thick,red!90!black]
\tikzstyle{plotB}=[ultra thick,cyan!50!black]
\begin{tikzpicture}
    \begin{axis}[
        width=13.5cm,
        height=8.625cm,
        % Grid
        grid = major,
        % size
        xmin= 0,     % start the diagram at this x-coordinate
        xmax= 125,   % end   the diagram at this x-coordinate
        ymin= 0,     % start the diagram at this y-coordinate
        ymax= 0.045, % end   the diagram at this y-coordinate
        % Legende
        legend style={
            font=\large\sansmath\sffamily,
            at={(0.5,-0.18)},
            anchor=north,
            legend cell align=left,
            legend columns=-1,
            column sep=0.5cm
        },
        % Ticks
        tick align=inside,
        minor tick style={thick},
        scaled y ticks = false,
        xtick={40,70,80},
        ytick=\empty,
        % Axis
        axis on top,
        axis line style = {very thick,shorten <=-0.5\pgflinewidth},
        axis lines = middle,
        axis line style = very thick,
        xlabel=$x$,
        x label style={at={(axis description cs:0.5,0)},
                       anchor=north,
                       font=\boldmath\Large},
        ylabel=$f(x)$,
        y label style={at={(axis description cs:0,0.5)},
                       anchor=south,
                       rotate=90,
                       font=\boldmath\Large},
        ]

        \coordinate (plotAcoord) at (axis cs:70,0.024);
        \coordinate (plotAcoordY) at (axis cs:0,0.024);
        \draw[plotA,thick, dashed](plotAcoord -| plotAcoordY) -- (plotAcoord);

        \coordinate (plotBcoord) at (axis cs:70,0.0004);
        \coordinate (plotBcoordY) at (axis cs:0,0.0004);
        \draw[plotB,thick, dashed](plotBcoord -| plotBcoordY) -- (plotBcoord);

        \node[above right=0cm and 0cm of plotAcoordY,color=red!90!black] (f1y) {$f_{I}(70)$};
        \node[above right=0cm and 0cm of plotBcoordY,color=cyan!50!black] (f2y) {$f_{II}(70)$};

        % Plots of the distributions
        \addplot [domain=0:120,samples=200,plotA] {gauss(80,100)};
        \addplot [domain=0:120,samples=200,plotB] {gauss(40,100)};

        % Mark points
        \addplot+[plotA,
                  samples at={70},
                  mark=*,
                  mark options={scale=1, fill=red!90!black}] {gauss(80,100)};
        \addplot+[plotB,
                  samples at={70},
                  mark=*,
                  mark options={scale=1, fill=cyan!50!black}] {gauss(40,100)};
        \coordinate (a) at (axis cs:70,0.024);
        \draw[black,thick](a |- current plot begin) -- (a);

        % Add labels
       \node[plotA,above] at (axis cs:102,0.03){\Large $\mathcal{N}(80, 100)$};
       \node[plotB,above] at (axis cs:20,0.03){\Large $\mathcal{N}(40, 100)$};
      % \addlegendentry{$\mu=80,\enskip \sigma^2 = 100$}
      % \addlegendentry{$\mu=40,\enskip \sigma^2 = 100$}
    \end{axis} 
\end{tikzpicture}
\end{preview}
\end{document}

רישיון

אני, בעל זכויות היוצרים על עבודה זו, מפרסם בזאת את העבודה תחת הרישיון הבא:
Creative Commons CC-Zero קובץ זה זמין לפי תנאי הקדשה עולמית לנחלת הכלל CC0 1.0 של Creative Commons.
האדם ששייך יצירה להיתר הזה הקדיש את היצירה לנחלת הכלל על־ידי ויתור על כל הזכויות שלו או שלה על היצירה בכל העולם לפי חוק זכויות יוצרים, לרבות כל הזכויות הקשורות או הסמוכות כקבוע בחוק. באפשרותך להעתיק, לשנות, להפיץ, או להציג את היצירה, אפילו למטרות מסחריות, וכל זה אפילו מבלי לבקש רשות.

תמונה זו נבחנה על פי אמות המידה לתמונת איכות והיא נחשבת לתמונה איכותית.

العربية  جازايرية  беларуская  беларуская (тарашкевіца)  български  বাংলা  català  čeština  Cymraeg  Deutsch  Schweizer Hochdeutsch  Zazaki  Ελληνικά  English  Esperanto  español  eesti  euskara  فارسی  suomi  français  galego  עברית  हिन्दी  hrvatski  magyar  հայերեն  Bahasa Indonesia  italiano  日本語  Jawa  ქართული  한국어  kurdî  Lëtzebuergesch  lietuvių  македонски  മലയാളം  मराठी  Bahasa Melayu  Nederlands  Norfuk / Pitkern  polski  português  português do Brasil  rumantsch  română  русский  sicilianu  slovenčina  slovenščina  shqip  српски / srpski  svenska  தமிழ்  తెలుగు  ไทย  Tagalog  Türkçe  toki pona  українська  vèneto  Tiếng Việt  中文  中文(简体)  中文(繁體)  +/−

Annotations
InfoField
This image is annotated: View the annotations at Commons

כיתובים

נא להוסיף משפט שמסביר מה הקובץ מייצג

פריטים שמוצגים בקובץ הזה

מוצג

image/svg+xml

היסטוריית הקובץ

ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.

תאריך/שעהתמונה ממוזערתממדיםמשתמשהערה
נוכחית05:34, 19 באוגוסט 2014תמונה ממוזערת לגרסה מ־05:34, 19 באוגוסט 2014‪543 × 899‬ (56 ק"ב)MartinThomaImproved axis
04:53, 19 באוגוסט 2014תמונה ממוזערת לגרסה מ־04:53, 19 באוגוסט 2014‪543 × 899‬ (56 ק"ב)MartinThomaDashed horizontal lines
17:07, 18 באוגוסט 2014תמונה ממוזערת לגרסה מ־17:07, 18 באוגוסט 2014‪543 × 899‬ (56 ק"ב)MartinThomaPut labels to ordinates
13:46, 14 באוגוסט 2014תמונה ממוזערת לגרסה מ־13:46, 14 באוגוסט 2014‪543 × 899‬ (56 ק"ב)MartinThomaNicht <math>f(x_0) = 70</math>, sondern <math>f(70)</math>.
20:28, 12 באוגוסט 2014תמונה ממוזערת לגרסה מ־20:28, 12 באוגוסט 2014‪543 × 899‬ (64 ק"ב)MartinThomaLabels für die Verteilungen (N(40,100) und N(80,100)) vergrößert
20:23, 12 באוגוסט 2014תמונה ממוזערת לגרסה מ־20:23, 12 באוגוסט 2014‪543 × 899‬ (63 ק"ב)MartinThomaRahmen entfernt; Punkte auf Plots bei x=70 sind nun gefüllt
20:14, 12 באוגוסט 2014תמונה ממוזערת לגרסה מ־20:14, 12 באוגוסט 2014‪571 × 899‬ (63 ק"ב)MartinThomaVorschläge von Sigbert umgesetzt
06:59, 12 באוגוסט 2014תמונה ממוזערת לגרסה מ־06:59, 12 באוגוסט 2014‪593 × 900‬ (86 ק"ב)MartinThomaMarked x=70 for both distributions
20:46, 11 באוגוסט 2014תמונה ממוזערת לגרסה מ־20:46, 11 באוגוסט 2014‪593 × 900‬ (74 ק"ב)MartinThoma{{Information |Description ={{en|1=Normal distribution for a discriminant analysis}} {{de|1=Normalverteilung bei einer Diskriminanzalayse}} |Source ={{own}} |Author =MartinThoma |Date =2014-08-11 |Permi...

אין בוויקיפדיה דפים המשתמשים בקובץ זה.

שימוש גלובלי בקובץ

אתרי הוויקי השונים הבאים משתמשים בקובץ זה:

מטא־נתונים