Posts

Showing posts from March 3, 2019

Convert matrix columns to z scores - notation

Image
1 I am doing a course on machine learning. In it I am asked to convert a matrix's columns to z-scores. It says: Subtract the mean value of each feature from the dataset (columns of X). After subtracting the mean, additionally scale (divide) the feature values by their respective “standard deviations.” This is not hard for me and I have written a little python function to this goal, but I was wondering what the vectorized version of this function would look like. So I set up some equations that I could then express in python, but I have done some unconventional things to achieve this and I would like to know what the conventional way would be. Here is what I've got: $$ z: R^{mtimes n}rightarrow R^{mtimes n}\ z( X) =left( X-1_{m} mu ( x)^{T}right) otimes 1_{m} sigma ( x)^{T}\ $$ Insecurities

Magento Backend pages not showing content properly after upgrade

Image
1 1 We've just performed a manual upgrade from 1.8.1 to 1.9.2 and thought everything had gone alright. The frontend seems properly with pages and products and loading fine. But, the backend is messed up. The pages aren't loading properly. I can see the header and footers, but didn't find the content in between. I have already flushed the caches but didn't change. Find the following images for what I mean. As you can see there is no content showing. The dashboard page shows correctly and the configuration page loads too, but pages like products, orders cache, index etc don't show properly. magento-1.9 upgrade backend share | improve this question