Swift for TensorFlow is a next-generation platform for machine learning, incorporating the latest research across: machine learning, compilers, differentiable programming, systems design, and beyond. This project is at version 0.2; it is neither feature-complete nor production-ready. But it is ready for pioneers to try it for your own projects, give us feedback, and help shape the future!This is truly exciting, and sooner or later I have to brush up on my swift skills. Take a look at the video above and see what the future of ML research holds. Automatic differentiation looks amazing.
I has been a while since I did some work in fluid dynamics but I stumbled across this b/c of a job interview so I thought that I maybe share it here.
The Bernoulli equation of fluid-dynamics is basically a law of conservation. In physics there are certain conserved quantities that stay the same during a physical transformation. An example would be energy, or momentum. The Equation derived below is basically a statement of energy conservation, however it requires a so-called ideal fluid.
An ideal fluid has the following properties:
- it is stationary and laminar (so there is no turbulence, and velocity at one point does not change)
- it has no viscosity (so there is no internal friction)
- it has no friction (with outside walls or anything else)
- it is incompressible, so the density is the same everywhere
Imagine a tube that is filled with this ideal fluid and its radius is shrinking in the middle in a conical fashion. Because we already know the equation of state (), we can make an assumption about the mass-flow within the tube.
Considering the difference in mass , that is the mass that enters the pipe in the beginning in a certain amount of time we can easily see that this must be the , which is the mass that leaves the pipe at the end in the same amount of time. This balance, also called continuity-equation, we can write as
(1)
When we consider the total work done to the fluid we have to be careful about the sign and can write it as
(2)
This total work must be equal to all other energy representations in the fluid, which we write in a way that is normalized by the mass difference
(3)
(4)
where represents the kinetic energy some form of potential (in our case ) and is a representation of internal energy. We disregard internal energy and fill in equation for we get this nice little expression:
(5)
which basically states
(6)
This is Bernoulli’s equation of fluid dynamics, it states that within a flow of constant energy the velocity of a fluid rises in fields of low pressure and lowers in fields of low pressure.
Even though we simplified the underlying physics massively there’s still a lot of phenomena to be explained using this simple equation. For example aeroplanes flying can be partially explained with this equation.
Some online-links I found particularly useful for understanding neural networks; a good addition to traditional textbooks like Bishop, Pattern Recognition or Hastie, Statistical Science, McKay and of course Goodfellow, Deep Learning
The term “Artificial Intelligence (AI)” comprises all techniques that enable computers to mimic intelligence, for example, computers that analyse data or the systems embedded in an autonomous vehicle. Usually, artificially intelligent systems are taught by humans — a process that involves writing an awful lot of complex computer code.
Nice little overview of the current initiatives and projects regarding Artificial Intelligence in Space at ESA. Lot’s of interesting stuff going on there. I am personally super excited about autonomous robots and using deep learning for navigation and docking of spacecraft.
If prediction is in fact the primary goal of science, how should we modify the scientific method, the algorithm that for centuries has allowed us to identify errors and correct them?
Interesting piece by UofT’s Amar Vutha on how machine learning is reshaping the scientific landscape. I fundamentally disagree that the goal of science is predicting nature. Predicting is great for applied problems like weather-forecasting, but neglecting the understanding of things bears a great risk, because then the scientific method is basically reduced to guessing what the next step could be and is no longer effective at iterating towards a fundamental truth. With all due respect, let’s leave that “goal-oriented” approach to problem solvers and engineering.