Pages

Tuesday, August 29, 2017

[Computer Science] In neural networks, wouldn't a transfer function like tanh(x)+0.1x solve the problems associated with activator functions like tanh?

[Computer Science] In neural networks, wouldn't a transfer function like tanh(x)+0.1x solve the problems associated with activator functions like tanh?


[Computer Science] In neural networks, wouldn't a transfer function like tanh(x)+0.1x solve the problems associated with activator functions like tanh?

Posted: 28 Aug 2017 09:06 AM PDT

I am just starting to get into neural networks and surprised that much of it seems to be more art than science. ReLU are now standard because they work but I have not been shown an explanation why.

Sigmoid and tanh seem to no longer be in favor due to staturation killing the gradiant back propagation. Adding a small linear term should fix that issue. You lose the nice property of being bounded between -1 and 1 but ReLU already gives that up.

Tanh(x)+0.1x has a nice continuous derivative. 1-f(x)2 +0.1 and no need to define things piecewise. It still has a nice activation threshold but just doesn't saturate.

Sorry if this is a dumb idea. I am just trying to understand and figure someone must have tried something like this.

EDIT

Thanks for the responses. It sounds like the answer is that some of my assumptions were wrong.

  1. Looks like a continuous derivative is not that important. I wanted things to be differential everywhere and thought I had read that was desirable, but looks like that is not so important.
  2. Speed of computing the transfer function seems to be far more important than I had thought. ReLU is certainly cheaper.
  3. Things like SELU and PReLU are similar which approach it from the other angle. Making ReLU continuous rather than making something like tanh() fixing the saturation/vanishing grad issues . I am still not sure why that approach is favored but probably again for speed concerns.

I will probably end up having to just test tanh(x)+cx vs SELU, I will be surprised if the results are very different. If any of the ML experts out there want to collaborate/teach a physicist more about DNN send me a message. :) Thanks all.

submitted by /u/f4hy
[link] [comments]

Why do sites like Google and Amazon need domain specific urls (amazon.ca google.ru) instead of .com always? Is it simply a language thing?

Posted: 28 Aug 2017 08:42 PM PDT

When was there a 'cosmic visible light' background?

Posted: 29 Aug 2017 05:18 AM PDT

Since the expansion of space causes the wavelength of cosmic microwave background to lengthen, presumably it would have covered other parts of the electromagnetic spectrum in which wavelengths are shorter. We also seem to have a pretty good idea of the rate (and rate of acceleration) at which space expands.

So at what point in the history of the universe could I look around me and see blue everywhere? Is there an equation for this? I'm not afraid of math.

submitted by /u/BrainEnema
[link] [comments]

How has Hurricane Harvey managed to stay in the Southeastern Texas area so long when other Hurricanes crawling up the East Coast seem to go right through one place to the next at a quicker rate?

Posted: 28 Aug 2017 08:53 AM PDT

I went through Hurricane Matthew last year, and it seemed to pass through us in about half a day. Harvey seems to be in the same general area it's been for the last 2+ days.

submitted by /u/JeffTennis
[link] [comments]

Is quantum entanglement limited to two particles?

Posted: 28 Aug 2017 09:21 AM PDT

Could two, three or millions of particles separated by space-time be "entangled"?

submitted by /u/LetsSpeakAboutIt
[link] [comments]

When you mix two units of liquids of different temperature, and the apparent temperature changes, is this because the individual particles' energy changes, or is it just because the average of their energies changes?

Posted: 29 Aug 2017 04:49 AM PDT

Hey!

I understand that this is a simplification of actual thermodynamics, and I assume that the kinetic energy of each molecule/atom in the final liquid ends up being roughly the same over time (except for for example the well-known aspect of the warmest molecules floating to the top in most cases), but my real question is how quickly this transfer of energy between the individual particles happens. If you were able to measure the temperatures of all the individual particles at different times after mixing the liquids, would there be a period in which the particles actually retained the same temperature as they started with, and the apparent change would just be because the average temperature had changed? And if this is something that happens over time, how quickly does it happen?

submitted by /u/Hottentott14
[link] [comments]

Does compressed air provide less buoyancy than uncompressed air?

Posted: 29 Aug 2017 04:48 AM PDT

If I held onto a balloon underwater it tries to float to the surface, but a scuba tank has way more air in it, so even though it's heavier shouldn't it still try to float to the surface far faster than a balloon?

submitted by /u/whatthehellsteve
[link] [comments]

Why does lime juice severely burn the skin when exposed to sunlight?

Posted: 28 Aug 2017 08:14 PM PDT

What properties of a substance give it things like taste and sound?

Posted: 28 Aug 2017 06:06 PM PDT

What part of an object's atomic structure or cellular composition give it things like taste or sound (when I tap a table it sounds different than when I tap a window)?

submitted by /u/Ayaksnolkop_Ailatan
[link] [comments]

How does Bremsstrahlung radiation work?

Posted: 28 Aug 2017 10:58 PM PDT

My understanding is that when a charged particle slows down due to an electric field it emits a photon in order to conserve energy. The example given on Wikipedia is an electron being deflected by a proton would emit a photon to conserve energy. The electron loses kinetic energy but it also gains electric potential energy so there is no energy violation. Does this imply that potential energy is not a valid energy form and can't be used for conservation of energy? Also this radiation is created in synchrotrons where the acceleration is perpendicular to the velocity. There is no change in energy on this situation so no radiation is required to conserve energy is it? Is there a gravitational equivalent of Bremsstrahlung radiation?

submitted by /u/Prowsey
[link] [comments]

Is there a way to convert ambient heat into electricity?

Posted: 28 Aug 2017 05:49 PM PDT

Say you live in a very hot area. Is there a way to use something like solar panels to absorb the heat around your house and convert it into electricity?

submitted by /u/OK_Soda
[link] [comments]

[Cryptology] How does the Maximum Distance Separable Matrix work?

Posted: 28 Aug 2017 09:03 PM PDT

To any cryptologists and other computer scientists out there, could you please tell me how the MDS matrix works? I honestly can't understand it. For context, I haven't really studied anything past confusion, diffusion, feistel networks, lai-massey, and sp-networks, and bitwise operations.

submitted by /u/ThomasKingofNowhere
[link] [comments]

If Matter and Antimatter behave very, very similar, can we be sure that distant galaxies aren't made of antimatter?

Posted: 28 Aug 2017 01:04 PM PDT

To my recollection, recent tests have shown that Anti-Hydrogen reflects light very similarly to normal hydrogen.

Can we still tell them apart over astronomical distances?

submitted by /u/Ten_Tacles
[link] [comments]

If electrons surround a nucleus in a cloud, can they collide, and if they can, what happens?

Posted: 28 Aug 2017 11:03 AM PDT

What is the current thinking on the future of uranium supply and breeder reactors?

Posted: 28 Aug 2017 11:12 AM PDT

I've seen various estimates on the future supply of Uranium, that there might be as little as 80-200 years worth left, and that there might be so much that running out won't ever be a concern. What's the current consensus on it?

Breeder reactors sound almost like a miracle technology, with the potential to extract 100 times more energy than normal reactors and massively reducing the headache of nuclear waste, but apparently 'in 2010 the International Panel on Fissile Materials said "After six decades and the expenditure of the equivalent of tens of billions of dollars, the promise of breeder reactors remains largely unfulfilled and efforts to commercialize them have been steadily cut back in most countries."'.

What are the drawbacks, or why are they infeasible in reality? Even if uranium is abundant, wouldn't they be worth pursuing simply because they get more value out of whatever amount is mined?

submitted by /u/daman345
[link] [comments]

Why is element 18 more heavy than element 19?

Posted: 28 Aug 2017 10:04 AM PDT

On the periodic table, it says element 18 weighs 39.948, and that 19 only weighs 39.0983. Why isn't 19 heavier than 18? Doesn't it have 1 more proton?

submitted by /u/WashedBag
[link] [comments]

Light & Matter vs Gravity: Gravitational Slingshot?

Posted: 28 Aug 2017 05:08 PM PDT

Under a few assumptions (some of which are inevitably going to be wrong from my unlearned point of view), it would be possible to have light photons or matter be affected by a gravitational pull such as a black hole without being pulled in completely or into orbit?

If this is so, would it be possible to "slingshot maneuver" and alter its potential energy?

Light is probably exempt from this due to its constant speed throughout a frame, but what about a body with mass? Could it speed up by slingshotting round a black hole? And if so, isn't it taking energy from said black hole?

submitted by /u/DNRTannen
[link] [comments]

Are there any places on Earth where the gravitational force is more than other places?

Posted: 28 Aug 2017 02:53 PM PDT

What happened in a molecule when an atom decay into two smaller one ?

Posted: 28 Aug 2017 12:34 PM PDT

How has the chemical composition of air in earth's atmosphere evolved over time? If present, what were the main contributing factors?

Posted: 28 Aug 2017 01:57 PM PDT

What is the is the source/power that keeps atoms and molecules together ?

Posted: 28 Aug 2017 07:34 PM PDT

What lies beneath/behind the visible material world ?

submitted by /u/de-kandelaar
[link] [comments]

How does chemotherapy work on a molecular level?

Posted: 28 Aug 2017 10:39 AM PDT

I don't know much about chemotherapy other than it is used to treat cancer, but I do have a high-school level background on chemistry and biology, so could someone explain what chemotherapy does, on a molecular level?

submitted by /u/MeowrCat
[link] [comments]

Monday, August 28, 2017

Why does electricity always hum at a B-flat pitch?

Why does electricity always hum at a B-flat pitch?


Why does electricity always hum at a B-flat pitch?

Posted: 27 Aug 2017 11:00 AM PDT

Whenever I pass a power plant or hear a lot of electricity running through my house, I always hear that pitch.

Edit: To those asking, I am a musician.

submitted by /u/agodscomma
[link] [comments]

Is the universe expanding faster and faster at the same speed everywhere or is there areas where it's expanding at a different speed?

Posted: 28 Aug 2017 03:17 AM PDT

Can plants get cancer from the sun like humans can get skin cancer?

Posted: 27 Aug 2017 06:43 PM PDT

If a Train Circling the Globe Traveled Fast Enough, Would the Passengers Inside Float?

Posted: 27 Aug 2017 10:19 PM PDT

I understand that the concept of "floating" in microgravity is due to a spacecraft moving faster than gravity is able to pull it down resulting in a continuous orbit that "falls" around the Earth.

Discounting the practical constraints, would a train moving around the globe at or exceeding escape velocity cause its passengers to experience microgravity?

What would the passengers experience as they approached this speed? What would happen when the train exceeded this speed assuming it remained tightly on its track?

submitted by /u/ChuckTexas
[link] [comments]

How do we know the composition and mass of some planets/stars ?

Posted: 27 Aug 2017 08:21 PM PDT

Are there any animals that consume non cellular matter as a significant part of their diet?

Posted: 27 Aug 2017 04:11 PM PDT

I recall hearing of an animal that will ingest rocks to aid the mechanical act of digestion, but what about for nutritional need?

submitted by /u/riddus
[link] [comments]

Why do some metals glow red hot at their melting point (i.e. Iron, nickel, etc) while others (i.e. Aluminum) are silver when molten?

Posted: 27 Aug 2017 07:42 PM PDT

Can other iron-group elements be alloyed with carbon to create a "heavy steel"? If so, what are their properties?

Posted: 27 Aug 2017 06:46 PM PDT

Old 3D video games rendered circles as visibly crude polygons. Modern games have them perfectly circular. Did we just increase polygon count until its too high to notice, or have rendering algorithms changed to allow "true" circles?

Posted: 28 Aug 2017 02:25 AM PDT

Can chickens have identical twins?

Posted: 27 Aug 2017 07:52 PM PDT

Would they have to come from one egg? I found some references to a chicken with two heads and that sort of thing, but didn't see much about chickens having otherwise normal healthy twin chicks.

submitted by /u/Ivan_Whackinov
[link] [comments]

How does the stomach know when you should vomit something you ate?

Posted: 27 Aug 2017 07:39 PM PDT

Why is nitrogen inert?

Posted: 28 Aug 2017 06:07 AM PDT

Why is it that (molecular) nitrogen is more inert than oxygen that is more inert than flourine? Because Ive learned that a tripple bond is less stable than a double bond, thats less stable than a single bond. Is this because electronegativity becomes higher along that line, and high electronegativity for a two-atom gas is more important for high reactivity than the bond order?

submitted by /u/MappeMappe
[link] [comments]

What creates the sensation of thirst?

Posted: 27 Aug 2017 08:35 PM PDT

Is there like a "Thirst sensor" protein?

submitted by /u/mementomoriok
[link] [comments]

What are the implications of finding magnetic monopoles?

Posted: 27 Aug 2017 02:02 PM PDT

If we were to find magnetic monopoles exist and potentially also make them, what would it mean for science? What would be the implications for normal life?

submitted by /u/Sterweror
[link] [comments]

Why do lionesses leave the safety of the pride to give birth?

Posted: 27 Aug 2017 06:07 PM PDT

What would Earth's sky look like if a Black Hole was in the Solar System ?

Posted: 27 Aug 2017 10:09 AM PDT

Assuming that the black hole is small and far enough to not swallow Earth right away.

And how would Humanity react to that ?

submitted by /u/space_human01010
[link] [comments]

How are vaccines replicate or recreated for distribution?

Posted: 27 Aug 2017 06:16 PM PDT

What changes does someone go through when acclimating to high altitude?

Posted: 27 Aug 2017 09:43 PM PDT

I have recently moved from sea level up to 8000ft in elevation. As a runner, this dramatic change makes it difficult to get enough air while I'm running. How does my body adjust itself to receiving thinner air?

submitted by /u/Sentient_pasta
[link] [comments]

What's the little peg in an airplane window for?

Posted: 27 Aug 2017 07:57 AM PDT

What causes a hurricane to stall in one area for an extended time, as Harvey is doing?

Posted: 27 Aug 2017 11:50 PM PDT

Hurricane Harvey is currently causing massive flooding hundreds of miles east of where it made landfall. I have read that this is because because it has stalled in one region for days, and is continuously scooping up moisture from the gulf and dumping it over the coast.

Why has this hurricane stalled near shore, and what factors make other hurricane likely to do the same?

submitted by /u/impedocles
[link] [comments]

If I had an extension cord plugged into a power source at the Earth that went all the way to the Moon, how long would it take for the power to reach once you plugged something in on the other end?

Posted: 27 Aug 2017 11:24 PM PDT

Why does holding your nose inhibit your sense of taste?

Posted: 27 Aug 2017 06:59 PM PDT

Sunday, August 27, 2017

How can we hear the voice in our head and how is it produced?

How can we hear the voice in our head and how is it produced?


How can we hear the voice in our head and how is it produced?

Posted: 26 Aug 2017 05:12 PM PDT

Is it easier to predict the future or the past of orbits?

Posted: 27 Aug 2017 05:44 AM PDT

We know about eclipses in the future and we can also figure out unobserved eclipses of the past with the information we have.

But is there any difference in our accuracy of predictions between future and past events? What about longer time, less precise things than eclipses, like predicting where Mars is relative to us in a million years?

submitted by /u/empire314
[link] [comments]

How can xylitol be an alcohol and a sugar at the same time?

Posted: 26 Aug 2017 02:19 PM PDT

Basically what the title says. Xylitol is a sugar, but it has the "ol" ending, so it's also an alcohol according to my teacher. How?

submitted by /u/63796379
[link] [comments]

how is it possible for carbon-14 to be present in coal samples millions of years old?

Posted: 27 Aug 2017 12:29 AM PDT

I tried looking up the phrase "how can carbon 14 be present in coal beds" and "carbon 14 found in coal" and found no reliable sources with most of the search results listed being creationist sources which I don't believe to be reliable. If carbon-14 decays in thousands of years how is it possible for it to be present in coal samples millions of years old?

submitted by /u/iamcurious1234
[link] [comments]

How does the Van De Graff Generator work?

Posted: 27 Aug 2017 05:34 AM PDT

I'm really having difficulties with it and it'll be on my exams. Explanation with simpler terms is appreciated.

submitted by /u/tejas22
[link] [comments]

What is the density of DNA?

Posted: 26 Aug 2017 05:06 PM PDT

Can blind people tell if it's dark outside?

Posted: 26 Aug 2017 12:38 PM PDT

Like they'd be able to tell if it is cooler outside but what if it was winter or something like that.

submitted by /u/Schibalski
[link] [comments]

If a hurricane gets it's moisture from the ocean, does that create salt water rain, or does the ocean become slightly more concentrated? What happens to the salt in the water when the vapor is absorbed?

Posted: 26 Aug 2017 08:07 AM PDT

Earth sciences

submitted by /u/Frankensteinrunsmile
[link] [comments]

How can they accurately measure rainfall in hurricanes?

Posted: 26 Aug 2017 11:32 AM PDT

If the rain is essentially coming down sideways, how is the total measured accurately?

submitted by /u/4gotOldU-name
[link] [comments]

Is the accelerating expansion of the universe a constant acceleration or does the acceleration vary?

Posted: 26 Aug 2017 01:09 PM PDT

What is happening on a molecular level when I make a cup of coffee?

Posted: 26 Aug 2017 01:32 PM PDT

Every morning I get up and I make a coffee by adding a teaspoon of instant coffee with two teaspoons of sugar to boiling water and then adding milk and string, what is happening when everything is mixing together?

submitted by /u/fenster112
[link] [comments]

North of the Tropic of Cancer is the sun never on the north half of the sky?

Posted: 26 Aug 2017 08:41 PM PDT

Why can the sound of thunder last for several seconds when a lightning flash is much quicker?

Posted: 26 Aug 2017 08:32 AM PDT

In construction of buildings what are the different considerations for short and tall buildings?

Posted: 26 Aug 2017 09:35 AM PDT

Short buildings are more often 'flatter', and thus their loads and weights are distributed to a larger area thus minimizing pressures. In tall buildings steel frames and spread footing are used to distribute its load to a larger area and thus achieving the same result. Beside weights and loads are there any other differences, in terms of design and physics concepts, that structural engineers have to consider in constructing tall and short buildings?

submitted by /u/TheBigNewsMorgan
[link] [comments]

How do spiders not get caught in their own webs? Can they get caught in other spider's webs?

Posted: 26 Aug 2017 09:13 AM PDT

Am watching two different species of spiders very near to each other and was just wondering...

submitted by /u/nat0han
[link] [comments]

How do mosquitoes know what blood type you are?

Posted: 26 Aug 2017 06:24 AM PDT