I'm looking to perform third-party assessment of the false-positive rate of a video classification algorithm. I am feeding unlabeled video through a given classification algorithm and need to assess it for false-positives, the hard part is that there is so much resulting classified video it would take months for me to watch all of it. I'd like to perform a power analysis to only look at a sample of the video and specify the FP rate at a given CI/precision.  To make things simple, let's say the algorithm flags video sequences that have at least one cat in it. I'm looking to evaluate the frequency of false positives for all the new data. So I have tagged all the video that my algorithm has identified a cat in and now want to sample the tagged video sections and look through the sample manually to ascertain what the FP rate is with this new data set. Note, I'm not looking to refine the model at this point, just assess it.  My null hypothesis is that the FP rate of the sample of tagged video I watch is equal to the FP rate of all the tagged video.   I think I can use this formula to determine the number of video sequences to view:    MY QUESTION:    My goal is to be able to say, "looking at a sample of the video, the FP rate is x given a confidence/precision of y".  Am I thinking through this formulation correctly? What would I use for values of p and p0? Would p be the model's reported FP rate?   I've been using this online calculator:
I'm looking to do a third-party assessment of the false-positive rate of a video classification algorithm. Since I have a lot of video I'm trying to do a power analysis to figure out exactly how much video I need to look through so that it is representative of all the video data at a given confidence interval.  The algorithm flags video sequences that have at least one cat in it, and I'm looking to evaluate the frequency of false positives on a new unlabeled test set. So I have tagged all the video that my algorithm has identified a cat in and now want to sample the tagged video sections and look through them manually to validate my model since looking through all of it would take too long! Note, I'm not looking to refine the model at this point, just assess it.  My null hypothesis is that the FP rate of the sample of video I watch is equal to the FP rate of all the video.   I think I can use this formula to determine the number of video sequences to view:    Here is my question: am I thinking through this formulation correctly? Since my model has a CV false positive rate of ~0.96, I figure I can use that as a reference. Can I use that for the null hypothesis proportion, p0? Or will that be p, the true proportion?    I've been using this online calculator:   I ask because when setting the parameters I have, I'm getting very small sample sizes, like less than 10 sequences to view. That can't be right.
Avoid footnotes from appearing before mark Shape missing using pic in TikZ Why the shape (sB) is unknown in the following code ? How to avoid this ?  \documentclass[]{standalone} \usepackage{tikz,xparse} \usetikzlibrary{calc}  \tikzset{pics/.cd,     % Marque croix     Cross/.style args={#1 and #2}{%         code = {%         \draw[#2,rotate=45,scale=1.4] (0,#1 pt) -- (0,-#1 pt) ;         \draw[#2,rotate=-45,scale=1.4] (0,#1 pt) -- (0,-#1 pt) ;         }     },     Cross/.default={2 and black} }  \NewDocumentCommand{\Segment}{mO{}}{%     \begin{scope}[#2]     \path    (0,0) coordinate (sA) pic {Cross={1.5 and gray}}         -- (#1,0) coordinate (sB) pic {Cross={1.5 and gray}} ;     \draw (sA)--(sB) ; % Can't reuse (sB)     \end{scope} }   \begin{document}     \begin{tikzpicture}     \Segment{1.5}     \end{tikzpicture} \end{document} Integrating Factor Method. Why Can We Set the Constant of Integration to Zero? My textbook gives a demonstration of the use of the integrating factor method for solving first order ordinary differential equations:  $\dfrac{dx}{dt} + p(t)x = r(t)$  $\implies g(t)\dfrac{dx}{dt} + g(t)p(t)x = g(t)r(t)$  $\dfrac{d}{dt}[g(t)x]$  We use the product rule and compare the expression to the left-hand side of the above equation:  $g(t)\dfrac{dx}{dt} + \dfrac{dg}{dt}x = g(t)\dfrac{dx}{dt}+g(t)p(t)x$  $\therefore \dfrac{dg}{dt} = g(t)p(t)$  The above equation is separable.  $\therefore \int\dfrac{dg}{g(t)} = \int p(t) dt$  $\implies ln[g(t)] = \int p(t)dt$  My textbook then says that, "We can set the constant of integration to zero -- any function that satisfies $\dfrac{dg}{dt} = g(t)p(t)$ will do for our purposes". However, it gives no explanation as to why this is the case. Why can we set the constant of integration to zero? Why is any function that satisfied $\dfrac{dg}{dt} = g(t)p(t)$ appropriate for our purposes?  I would greatly appreciate it if people could please take the time to elaborate on this. The comments in  say that I shouldn't wait until low battery charge level before I charge, because that reduces battery life (this is contrary to my understanding before that the faster we charge (without waiting for battery to discharge) the worse it will be for battery life). My question is, when I should generally start charging to avoid this effect? 20%?   Interesting question: If we always limit the usage of the battery only 20% and above, won't we, in effect, reduces our battery capacity to 80%, because we will only use the battery in 20%-100% state? When can a hyphen ("-") be used, and what does it mean? I've seen the hyphen (-) used in phrases a lot, for example:     audience-knowing      moves-sometimes      do-gooder   When and why is the hyphen used, and what does it mean when it's used? Which $n$ can be expressed as $x^2 − y^2$? Which $n$ can be expressed as $x^2 − y^2$?  Attempt: Any number which is odd or or which is a multiple of 4. Fullscreen Vista's Command Prompt, or Replacement Opening the command prompt ("cmd") on Vista into full screen causes the application to take up 100% vertical space, but only about 50% horizontal. Is there not a way I can make this fullscreen? If it's simply not possible, what is a good replacement? Do "owed" and "due" mean the opposite? I am new to working with IDS' such as Suricata/Snort. I am currently trying to using Suricata to log DNS requests and responses to malicious domains on my network. On my DNS server I made it so that any request to say, bad.com, would resolve to 127.0.0.1, thus not allowing anybody on my network to access that site.   I have set up Suricata to log all DNS requests, but how do I filter that down and narrow it and tell it to only log requests to 127.0.0.1 and let everything else go unlogged?   I tried to create a rule:  alert dns any any -&gt; 127.0.0.1 any (msg: "BLACKLISTED WEBSITE"; flow:to_client; content:"rrname";sid:2240001;rev:1;)   But that did not work.   What do I need to do to only log DNS requests to certain IPs? I cannot find any information in the documentation or anywhere else on the internet.   Thanks. How do I add a custom keybind to a button on any website? Is multiplication not just repeated addition? If multiplication is not repeated addition, what is it? How do you define multiplication? All of us had to memorize the multiplication table in elementary school, but how did they come up with it if so many people claim that it is wrong to think of it as repeated addition? Voodoo magic? What is Stack Overflow's business model? I once , but that was . Now, , and they have , but where's the business model? The  its own Q&amp;A about its site (since it wasn't included in the ), and just about the only dig in there that halfway has merit is the business model dig:  We switched to a premium model to keep out of the Venture Capital business (been there, done that, got the t-shirt). Companies like StackExchange couldn't do it without the VC cookie jar. Where's the model? Huh, Spolsky? (I’m sorry. Did that slip out?)  It hurt, but I can't help but wonder if they're on to something.  How would Stack Overflow Internet Services pay back the VCs? Ad revenue alone?  There is only one 'paid' product, Stack Overflow careers, but it doesn't seem like that could sustain a business as large as Stack Overflow (Joel once mentioned on his blog that his jobs board brought in an extra million a year in revenue). So what does Stack Overflow do when the VC cash runs out? Is this a get-big-and-take-the-company-public maneuver? Is that the only viable business model for Stack Exchange? Edit: With the size of Stack Overflow's team, it isn't a stretch to say that payroll is at least $2 million  a year, probably as much as 4 when you think about benefits (average 120K for a developer in New York City; x2 for benefits/taxes/all-that-other-good-stuff). Office space can't be cheap, so how long does $6 million last before you need another VC infusion? Let me know I have upvotes even after hitting the rep cap When you cap, you don't see any upvotes you get on your profile, therefore, you don't have any update on how your questions / answers are doing unless you look at them manually.   Capping the 200 daily rep is not a reason to stop posting here so could I get notified somehow that my posts are being voted on ? Maybe put a little +X in a different color letting me know that I got these votes but I won't get the reputation for it.   I can go and see in my reputation feed inside my profile and see it :    So I don't see why it wouldn't show up in the feed above.  Maybe putting the feed button green without any +X just like when you aquire a badge. Proving $\frac{a}{a^2-a+1}+\frac{b}{b^2-b+1}+\frac{c}{c^2-c+1}+\frac{d}{d^2-d+1}\le \frac{8}{3}$ given $a+b+c+d=2$ Let $a,b,c,d\in \mathbb{R}$ and $a+b+c+d=2$. Prove that $$\frac{a}{a^2-a+1}+\frac{b}{b^2-b+1}+\frac{c}{c^2-c+1}+\frac{d}{d^2-d+1}\le \frac{8}{3}.$$   We have $$\frac{a}{a^2-a+1}\le \frac{4}{3}a\Longleftrightarrow \frac{-a\left(2a-1\right)^2}{3\left(a^2-a+1\right)}\le 0,$$ (Right)  So $$LHS\le \frac{4}{3}\left(a+b+c+d\right)=\frac{8}{3}=RHS$$  When $a=b=c=d=\frac{1}{2}$  But also $a=b=c=1;d=-1$ i don't know how to solve it. Storing datetime values in Shapefiles using QGIS? I have a shapefile with date in a string field. I create a new field with date type and use the calculator to make the conversion. But the result only provide the date part, the time part is removed. Even when the preview show the correct conversion.  Here you can see the original string field time and the result date time2. And the use of the conversion function to_datetime() and the preview result at the end    If you go to the layer properties you can change the edit mode to date/time. Then if go to the data and try to edit time2 you get the current date/time. So is possible save date and time in the same field. But the update tool still doesn't work as expected      As J.R said. Even when you can change QGIS edit to allow Date/Time the save to shapefile will discard the time. What is the fastest way to get from Courmayeur/Aosta to Milan? Let $\alpha(t)$ be a regular curve. Suppose there is a point $a$ in $R^3$ such that $\alpha(t)-a$ is orthogonal to $T(t)$ for all t. Prove that $\alpha(t)$ lies on a sphere.  So, I let $\alpha(t)=(x(t), y(t),z(t))$ and $a=(a,b,c)$.  Since, $\alpha(t)-a$ is orthogonal to $T(t)$,  $&lt;\alpha(t)-a,T(t)&gt;=0$.  But I don't know how to solve this.. How do I draw ovals in TikZ? How can I draw this graph in the pic via tikz. The positive integer solutions for $2^a+3^b=5^c$ What are the positive integer solutions to  the equation     $$2^a + 3^b = 5^c$$    Of course $(1,\space 1, \space 1)$ is a solution. systemd in ubuntu 14.04