In this paper we propose a machine learning algorithm for time-inconsistent portfolio optimization. The proposed algorithm builds on neural-network-based trading schemes, in which the asset allocation ...