Unveiling the Science Behind Investment Portfolios