LDA VS LOGISTIC REGRESSION
Logistic regression vs. LDA as two-class classifiers
LaTeX Error: Option clash for package xcolor I have an option clash between package xcolor and another package, but I don't know which. Here is my MWE  \documentclass[10pt]{beamer} \setbeamertemplate{navigation symbols}{} \usepackage{caption} \usepackage{subcaption} \usepackage{url} \usepackage{color} \usepackage[usenames]{xcolor}  \author{The author} \title{Package conflicts} \date{October 3rd, 2012}  \begin{document}  This is supposed to be \textcolor{olivegreen}{olivegreen} \end{document}   And the error message is :  This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) entering extended mode (./error_xcolor.tex LaTeX2e &lt;2009/09/24&gt; &lt;blablabla&gt; ! LaTeX Error: Option clash for package xcolor.   I hope this is enough log for you guys. At this time of the day, I'm hoping for America to save my french ass ... again : ) OverlapBox() dimensions are huge but are fine when tested in isolation Do the laws of physics evolve? What value to use to convert ADC value to voltage? While working on my project, I got to a point where I don't know the answer. I have a 10-bit ADC (the one incorporated in the ATMEGA328P) and it returns values up to 1023 (210 - 1).   The official documentation states that the equation to convert the values from the ADC to the corresponding voltage is:   $$ V = \frac{V_{in} \cdot ADC}{2^{10}} $$  But, if the values go up to 1023, then wouldn't it be better to replace the 210 by 210&nbsp;-&nbsp;1?  Thanks. How do I upgrade an iPhone 4 from iOS 7.1.2 to iOS 8 or 9 How could I find $x$ in this equation $x^2-x+6 \equiv 0 \pmod {9}$ This equation is like this: $$x^2-x+6 \equiv 0 \pmod{9}$$  I want to find x by using modular arithmetic. How I could do that?   My solution was:     $$\begin{align*}  x(x-1) &amp;\equiv -6 \pmod{9}\\ x(x-1) &amp;\equiv 3 \pmod{9} \end{align*}$$      So $x$ is either:   $$ x \equiv 3\pmod{9}$$      or       $$x - 1 \equiv 3 \pmod{9}$$      Which is $x \equiv 4 \pmod{9}$   I know what I have done is very dumb. So what is the correct solution? Give me the instructions also please. Why is $\pi$ irrational? I've a few questions in mind:   Why is $\pi$ irrational? If it is, then how can 2 rational quantities (circumference, diameter) can produce irrational number? How are we able to determine digits of $\pi$ accurately? How to distinguish between gold, silver, and bronze tag badges on SEDE? How can I distinguish between the levels of , say , querying ? For example, Mr. Jon Skeet has all the gold, silver and bronze badges for LINQ, so the query select * from Badges b with (nolock) where     b.Name = 'linq' and b.UserId = 22656  returns 3, with no distinction between them. Is it possible to include such information into the dump, for example, keep a unique badge ID (40 for the gold  badge)? Finding the Transform matrix from 4 projected points (with Javascript) According to two questions  and  asked on this site earlier there exists a nice relation:  $$\frac1{n!} \left(\int_{0}^t\mathrm dt \; f(t)\right)^n = \int_{0}^t\mathrm dt_1 \int_{0}^{t_1}\mathrm dt_2 \cdots \int_{0}^{t_{n-1}}\mathrm dt_n\; f(t_1)\,f(t_2) \ldots f(t_n). $$  Unfrotunatly I am more interested in integrals of the form  $$\int_{0}^t\mathrm dt_1 \int_{0}^{t_1}\mathrm dt_2 \cdots \int_{0}^{t_{n-1}}\mathrm dt_n\; f(t_n). $$  Can it be somehow brought to an unary integral?  All I have figured out by now is that  $$\int_{0}^t\mathrm dt_1 \int_{0}^{t_1}\mathrm dt_2 \cdots \int_{0}^{t_{n-1}}\mathrm dt_n\; t_n^m = \frac{m!}{(m+n)!} t^{m+n} .$$ $f(z)=\frac{z}{1+|z|} $ Is 1-1? Python ( or general programming ). Why use  instead of != and are there risks? Finding domain/range of a specific shader node input/output, inside the Blender UI? Is there anywhere within the Blender UI that displays the dimensionality &amp; bounding sets (e.g., all floats, floats in [0,1], floats in [0,255], etc) of arbitrary shader node inputs &amp; outputs?  I consistently find myself digging through stackexchange/the Blender docs/experimenting with less-than-equal-to to try to figure out what I need to divide by to normalize shader nodes' input/output values to within a specific range, or to center them at 0, etc. This seems like functionality that Blender's very rich UI might already have built into it, though, so I am wondering if I am just overlooking it somewhere.  As an example, I can do something like this, varying the threshold between 0, 0.5, and 1, and observing that in rendered view my sphere switches from all black to mixed black/white to all white, to convince myself that Blender's (Perlin) Noise Texture's Fac output naturally outputs floats in [0,1]:    But it seems odd that I should have to experiment, or search through docs or stackexchanges, to discover something like this. Is this information maybe already neatly displayed somewhere inside the Blender UI, and I just don't know where to look? Defining my own command Decode Base64 data in Java What hardware does Ubuntu Touch support? Enable Wireless Monitor mode for traffic sniffing I need to sniff all the wifi traffic that I can capture using wireshark in Ubuntu. My wireless interface is named as eth1 in the interfaces list. When I select that interface in Wireshark and start new sniff, I got following error;    As  thread says, I tried to installed the mentioned driver but I got an error in installation saying that that driver is not supported by my device. After that I tried the second answer in the same thread and run following command to enable monitor mode in my wireless card.  echo 1 &gt; /proc/brcm_monitor0   Then I saw a new Ethernet interface (not a wireless interface ) called prism0 in wireshark interface list. I couldn't start a sniff using that interface using monitor mode because in that interface settings, monitor mode check box has been disabled.  I have installed a broadcom wireless driver in Additional Drivers as follows:    Is there an error listing my Wifi interface as eth1 rather than wlan0 in the interfaces list? How can I start my wireless interface in monitor mode for sniffing?   Thank you. Symbols instead of numbers as footnote markers the problem of using "~\\" and blank line Recently,I found the code that cotains the"~\\" and blank line always shows the warning imformation "Underfull \hbox (badness 10000) in paragraph at lines"  \documentclass{ctexart} \usepackage{color} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} \usepackage{epstopdf} \hfuzz=\maxdimen   $(A \pm  B)^{-1} \neq A^{-1} \pm B^{-1}$,$(A \pm  B)^* \neq A^* \pm B^*$~\\  $|(A^*)^*|=|A|^{n^2-2 n+1}$~\\  \end {document}   I add the code:  \tolerance=10000 \hbadness=10000 \begin{document}   However,fail to solve it! $f: \mathbb{R} \rightarrow \mathbb{R}$ is a continuous function. Assume that $\lim_{x \rightarrow \pm \infty} f(x)$ exist and are finite. Prove that $f$ is bounded.  So to show that $f$ is bounded, I must show that $\exists M \in \mathbb{R}$ such that $|f(x)| \leq M$ for all $x \in Dom(f)$. Assuming that $f(x)$'s limit exist, then I know that $\forall \epsilon  &gt; 0$, $\exists N$ such that for $n &gt; N$, $|f(n) - L| &lt; \epsilon$. But I am having trouble with figuring out how to connect the two ideas together.