We analyze a methodology for portfolio selection based on the independent component analysis. In this paper parametric and non-parametric approaches are used for capturing the behavior of independent components that generate the distribution of asset returns. Although the setup is quite general, we focus mainly on the numerical issues encountered for parametric models and suggest the inclusion of a penalty function in the optimization problem