ReLU for small artificial neural networks?
Does ReLU layer work well for a shallow network?
How can I tell whether beetroot is still edible? I have some raw beetroot I bought about a week ago, having stored them at room temperature since. It's the first time I bought it raw, and I'm unsure whether it's still edible.   It is already soft, and when I cut it, it smells... Well, different than I expected. It's not a rotten smell as such, but it's nothing like the sweet beet-rooty smell I know from the pre-packaged, pre-boiled supermarket variety.  How can I tell whether it's still safe to eat? Why does Li-Po battery voltage drop under load? I have very low background in electronics.  I have a Li-Po battery connected to an electric motor. The question is:   Why does battery voltage drop under load? Why is each cell of a Li-Po battery limited to 3.0 V (discharging)? Why is each cell of a Li-Po battery limited to 4.2 V (charging)? I created this style that shifts the labels and put them on the bottom of the ybars.  However, I have a problem with the bars that have too short length (for example, see the 8.7 and 5.1 in the example below). I want to check if the values are less than some threshold, or the length of the bar is shorter than the label (number) then change its color.  How can I overlay another label on top of the one in white when the bar is shorter? or maybe change the color of the label to a gradient color? or just overlay the part that is outside of the bar?    \documentclass{standalone}  \usepackage{tikz} \usepackage{pgfplots} \usepackage{pgfplotstable} \usetikzlibrary{calc}  \begin{document} \makeatletter \begin{tikzpicture} \begin{axis}[ ybar, every node near coord/.style={   check for zero/.code={ % If meta=0, make the node a coordinate (which doesn't have text)     \pgfmathfloatifflags{\pgfplotspointmeta}{0}{         \pgfkeys{/tikz/coordinate}     }{}   },   check for zero, color=white, text opacity=1, font=\footnotesize, inner ysep=0.5pt, },% % Bottom nodes  calculate full offset/.code={     \pgfkeys{/pgf/fpu=true,/pgf/fpu/output format=fixed}     \pgfmathsetmacro\testmacro{((\pgfplotspointmeta-\pgfkeysvalueof{/pgfplots/ymin})*10^\pgfplots@data@scale@trafo@EXPONENT@y)*\pgfplots@y@veclength}     \pgfkeys{/pgf/fpu=false} },% nodes near coords bottom/.style={     every node near coord/.append style={         /pgfplots/calculate full offset,         yshift=-\testmacro,         rotate=90, anchor=west,%I need the rotate text here and not in the          %general style, as the ybar redefines the style     } },% ymin=0, nodes near coords={\pgfmathprintnumber[fixed zerofill,precision=1]{\pgfplotspointmeta}}, nodes near coords bottom, ] \pgfplotstableread{ % set real imag mag 1 8.7 2 5.1 3 91.8367  }\mydata \addplot table[x index=0,y index=1,header=false] {\mydata}; \end{axis} \end{tikzpicture} \makeatother \end{document}   * EDIT *  I need to create some special gradient on each label that is below the bar height. For example, I need to adapt something like  to each label that is not showing. However, I cannot find a way to put the macro in the style section of the codes. Or is there any equivalent solution? Currently there is not enough space on by /boot partition/folder and the sofware update can not be performed.   Question: how should I correctly free-up some space in that directory?  Here is the listing:  root@mindaugas-ubuntu-14:/boot# ls -la total 156607 drwxr-xr-x  4 root root     3072 Kov 12 09:37 . drwxr-xr-x 24 root root     4096 Kov 23 23:36 .. -rw-r--r--  1 root root  1163858 Rgs  4  2014 abi-3.13.0-36-generic -rw-r--r--  1 root root  1164720 Grd 16 03:17 abi-3.13.0-44-generic -rw-r--r--  1 root root  1164967 Sau 13 22:12 abi-3.13.0-45-generic -rw-r--r--  1 root root  1164852 Kov 10 22:43 abi-3.13.0-46-generic -rw-r--r--  1 root root   165671 Rgs  4  2014 config-3.13.0-36-generic -rw-r--r--  1 root root   165748 Grd 16 03:17 config-3.13.0-44-generic -rw-r--r--  1 root root   165748 Sau 13 22:12 config-3.13.0-45-generic -rw-r--r--  1 root root   165748 Kov 10 22:43 config-3.13.0-46-generic drwxr-xr-x  5 root root     1024 Kov 12 09:37 grub -rw-r--r--  1 root root 29225220 Rgs 25  2014 initrd.img-3.13.0-36-generic -rw-r--r--  1 root root 29264463 Sau 24 20:22 initrd.img-3.13.0-44-generic -rw-r--r--  1 root root 29267419 Vas 23 20:30 initrd.img-3.13.0-45-generic -rw-r--r--  1 root root 29268175 Kov 12 09:37 initrd.img-3.13.0-46-generic drwx------  2 root root    12288 Rgs 14  2014 lost+found -rw-r--r--  1 root root   176500 Kov 12  2014 memtest86+.bin -rw-r--r--  1 root root   178176 Kov 12  2014 memtest86+.elf -rw-r--r--  1 root root   178680 Kov 12  2014 memtest86+_multiboot.bin -rw-------  1 root root  3386479 Rgs  4  2014 System.map-3.13.0-36-generic -rw-------  1 root root  3388834 Grd 16 03:17 System.map-3.13.0-44-generic -rw-------  1 root root  3389258 Sau 13 22:12 System.map-3.13.0-45-generic -rw-------  1 root root  3389458 Kov 10 22:43 System.map-3.13.0-46-generic -rw-------  1 root root  5806848 Rgs  4  2014 vmlinuz-3.13.0-36-generic -rw-------  1 root root  5814496 Grd 16 03:17 vmlinuz-3.13.0-44-generic -rw-------  1 root root  5814112 Sau 13 22:12 vmlinuz-3.13.0-45-generic -rw-------  1 root root  5814592 Kov 10 22:43 vmlinuz-3.13.0-46-generic   There was a mention of it here:      $ sudo apt-get remove linux-image-2.6.31-21-generic   but will it delete all the files? (Originally  by AJAY.)  What is the geometric, physical, or other meaning of the third derivative of a function at a point?  If you have interesting things to say about the meaning of the first and second derivatives, please do so. Is there a cryptography algorithm that will remain safe if P=NP? Within 300 km of Tokyo: Where for flora, landscape, nature? I plan to visit Japan for 10 days and apportion 5 days to Tokyo. For the remainder, I want to escape the megalopolis and enjoy picturesque backwoods or countryside. Please recommend? Criteria:   No dangerous animals or untamed boondocks. No  or snakes. I won't drive, and must rely on public transport and walking less than 5 km in total.  No shrines, temples or any religious edifice. OPTIONAL: I fancy  , the more  the better.   This instantiates, doesn't duplicate, . Why doesn't pressing enter return '\n' to getch()? #include &lt;stdio.h&gt; #include &lt;conio.h&gt; main() {     char ch,name[20];     int i=0;     clrscr();     printf("Enter a string:");     while((ch=getch())!='\n')     {         name[i]=ch;         i++;     }     name[i] = '\0';     printf("%s",name); }   When I give "abc" as input and if I press enter it's not working. Can anyone let me know why the condition ch=getch() != '\n' is not becoming false when I press enter? I have also observed that ch is taking \r instead of \n. Kindly let me know. Thanks In LWC am trying to iterate over a list and show the details from the list, this is working correctly , but as a header want to show the record number in a displayed order, below is desired outcome and simplified sample code.  Desired OutCome:   Employee Record 1: A  Employee Record 2: B  Employee Record 3: C   JavaScript:  Var empNames = ["A" , "B" , "C"];   HTML:  &lt;template for:each={empNames} for:item="employee" for:index="index"&gt; Employee Record{index} {employee} &lt;/template&gt;    Actual outcome  Employee Record 0: A  Employee Record 1: B  Employee Record 2: C   I understand as i am using {index} which indicated the position of element in an array which starts from 0 my actual outcome also starts like Employee Record 0 instead of Employee Record 1, but is there a simple way without writing much logic on JS to handle this in html and to make my headers starts from 1 instead of 0? What causes the portraits of Wizards to behave interactively? Website home page design when there are multiple audiences I am in the process of creating a website which has two distinct audiences - in my case consumers and retailers.  When I first started the process just a few weeks ago I had followed the then model used by PayPal who too have to deal with distinct audiences.    However, having Googled around a bit for what the accepted wisdom is when dealing with website landing pages for segmented markets it appears to me that the current belief is that one just directs the visitor away from the landing page to other, segment focused, pages ASAP.  I have to admit that I am having trouble buying that philosophy.  To my mind it makes sense to provide at least some basic information - key benefits - for each segment on the landing page and then let viewers who linger long enough the opportunity to easily drill down to their own segment-focused page.  My own reasoning is that most first time visitors are liable to want to bounce away quickly and making them find and click on the segment page link is more likely to make them bounce than if they find enough to hold them on the landing page for a bit longer.  I'd like to have other views on this.  What are the pros and cons of the    Drive traffic to segment-focused page ASAP vs Provide some basic information - at least key benefits - for each segment on the landing page itself What's the meaning "them" here? How can I get a significant overall ANOVA but no significant pairwise differences with Tukey's procedure? I performed with R an ANOVA and I got significant differences. However when checking which pairs were significantly different using the Tukey's procedure I did not get any of them. How can this be possible?  Here is the code:  fit5_snow&lt;- lm(Response ~ Stimulus, data=audio_snow) anova(fit5_snow)  &gt; anova(fit5_snow) Analysis of Variance Table  Response: Response           Df Sum Sq Mean Sq F value  Pr(&gt;F)   Stimulus   5  73.79 14.7578  2.6308 0.02929 * Residuals 84 471.20  5.6095                   --- Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1   df&lt;-df.residual(fit5_snow) MSerror&lt;-deviance(fit5_snow)/df  comparison &lt;-  HSD.test(audio_snow$Response, audio_snow$Stimulus, df, MSerror, group=FALSE)  &gt; comparison &lt;-  HSD.test(audio_snow$Response, audio_snow$Stimulus, df, MSerror, group=FALSE)  Study:  HSD Test for audio_snow$Response   Mean Square Error:  5.609524   audio_snow$Stimulus,  means                  audio_snow.Response   std.err replication snow_dry_leaves            4.933333 0.6208034          15 snow_gravel                6.866667 0.5679258          15 snow_metal                 6.333333 0.5662463          15 snow_sand                  6.733333 0.5114561          15 snow_snow                  7.333333 0.5989409          15 snow_wood                  5.066667 0.7713110          15  alpha: 0.05 ; Df Error: 84  Critical Value of Studentized Range: 4.124617   Comparison between treatments means                                Difference   pvalue sig        LCL      UCL snow_gravel - snow_dry_leaves  1.9333333 0.232848     -0.5889913 4.455658 snow_metal - snow_dry_leaves   1.4000000 0.588616     -1.1223246 3.922325 snow_sand - snow_dry_leaves    1.8000000 0.307012     -0.7223246 4.322325 snow_snow - snow_dry_leaves    2.4000000 0.071587   . -0.1223246 4.922325 snow_wood - snow_dry_leaves    0.1333333 0.999987     -2.3889913 2.655658 snow_gravel - snow_metal       0.5333333 0.989528     -1.9889913 3.055658 snow_gravel - snow_sand        0.1333333 0.999987     -2.3889913 2.655658 snow_snow - snow_gravel        0.4666667 0.994348     -2.0556579 2.988991 snow_gravel - snow_wood        1.8000000 0.307012     -0.7223246 4.322325 snow_sand - snow_metal         0.4000000 0.997266     -2.1223246 2.922325 snow_snow - snow_metal         1.0000000 0.855987     -1.5223246 3.522325 snow_metal - snow_wood         1.2666667 0.687424     -1.2556579 3.788991 snow_snow - snow_sand          0.6000000 0.982179     -1.9223246 3.122325 snow_sand - snow_wood          1.6666667 0.393171     -0.8556579 4.188991 snow_snow - snow_wood          2.2666667 0.103505     -0.2556579 4.788991 Links being changed to cppreference.com Someone just edited a link in one of my answers to point to a 'better reference'.    I've no problem with links being changed in general, but this smells like part of a concerted attempt to redirect traffic.   Is this kind of activity acceptable on SO? What is terminal velocity? I've heard the term especially when the Discovery Channel is covering something about sky diving. Also, it is commonly known that HALO (Hi-Altitude, Lo-Opening) infantry reaches terminal velocity before their chutes open.    Can the terminal velocity be different for one individual weighing 180 pounds versus an individual weighing 250 pounds? How do question bookmarks work? What does bookmarking a question mean? How do you bookmark a question? Do users get updates on their bookmarked questions? Are my bookmarks publicly visible? How do you see your own bookmarks? How do you see other users' bookmarks? How do you see which users have bookmarked a particular question? What impact does the bookmark system have on the voting system? Can I &quot;un-bookmark&quot; a question? Can I search within my bookmarks? Convert bytes to a string I'm using this code to get standard output from an external program:  &gt;&gt;&gt; from subprocess import * &gt;&gt;&gt; command_stdout = Popen(['ls', '-l'], stdout=PIPE).communicate()[0]   The communicate() method returns an array of bytes:  &gt;&gt;&gt; command_stdout b'total 0\n-rw-rw-r-- 1 thomas thomas 0 Mar  3 07:03 file1\n-rw-rw-r-- 1 thomas thomas 0 Mar  3 07:03 file2\n'   However, I'd like to work with the output as a normal Python string. So that I could print it like this:  &gt;&gt;&gt; print(command_stdout) -rw-rw-r-- 1 thomas thomas 0 Mar  3 07:03 file1 -rw-rw-r-- 1 thomas thomas 0 Mar  3 07:03 file2   I thought that's what the  method is for, but when I tried it, I got the same byte array again:  &gt;&gt;&gt; binascii.b2a_qp(command_stdout) b'total 0\n-rw-rw-r-- 1 thomas thomas 0 Mar  3 07:03 file1\n-rw-rw-r-- 1 thomas thomas 0 Mar  3 07:03 file2\n'   How do I convert the bytes value back to string? I mean, using the "batteries" instead of doing it manually. And I'd like it to be OK with Python&nbsp;3. Integrating radial free fall in Newtonian gravity One Time Pad Key Distribution For multiple OTP keys, why not do this:  Key = Hash[(EC)DH Shared Secret + Counter]  The counter will increase per message, and the output of the hash will be random for each new unique input into it. What are the problems or weaknesses with this design??  EDIT: For clarification: both parties will have the shared secret from an ECDH exchange, random numbers from Pythons os.urandom for generating the ECC key No continuous function switches $\mathbb{Q}$ and the irrationals