Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
| public function beforeFilter() { | |
| parent::beforeFilter(); | |
| $this->response->header('Access-Control-Allow-Origin','*'); | |
| $this->response->header('Access-Control-Allow-Methods','*'); | |
| $this->response->header('Access-Control-Allow-Headers','X-Requested-With'); | |
| $this->response->header('Access-Control-Allow-Headers','Content-Type, x-xsrf-token'); | |
| $this->response->header('Access-Control-Max-Age','172800'); | |
| } |
| sudo -i | |
| cd | |
| apt-get install build-essential checkinstall && apt-get build-dep imagemagick -y | |
| wget http://www.imagemagick.org/download/ImageMagick-6.8.7-7.tar.gz | |
| tar xzvf ImageMagick-6.8.9-1.tar.gz | |
| cd ImageMagick-6.8.9-1/ | |
| ./configure --prefix=/opt/imagemagick-6.8 && make | |
| checkinstall |
| import java.io._ | |
| import scala.io._ | |
| import java.util.zip._ | |
| // Spark | |
| import org.slf4j.Logger | |
| import org.apache.spark.{ SparkConf, SparkContext, Logging } | |
| // Hadoop | |
| import org.apache.hadoop.io.compress.GzipCodec |
The Batch Normalization paper describes a method to address the various issues related to training of Deep Neural Networks. It makes normalization a part of the architecture itself and reports significant improvements in terms of the number of iterations required to train the network.
Covariate shift refers to the change in the input distribution to a learning system. In the case of deep networks, the input to each layer is affected by parameters in all the input layers. So even small changes to the network get amplified down the network. This leads to change in the input distribution to internal layers of the deep network and is known as internal covariate shift.
It is well established that networks converge faster if the inputs have been whitened (ie zero mean, unit variances) and are uncorrelated and internal covariate shift leads to just the opposite.
1. Not using appropriate indices
This is a relatively easy one but still it happens all the time. Foreign keys should have indexes on them. If you're using a field in a
WHERE you should (probably) have an index on it. Such indexes should often cover multiple columns based on the queries you need to execute.