The paper discusses what is specific about demonstrating the level of safety of sub-systems embedding machine learning algorithms compared to �classic� algorithms. It presents the holistic approach for demonstrating railway safety and how machine learning algorithms will fit into this approach and finally discusses the issues that have been identified from a national safety authority (NSA) point of view.