A method for counterfactual explanation of machine learning survival models is proposed. One the difficulties solving problem that classes examples are implicitly defined through outcomes a model in form functions. condition establishes difference between functions original example and introduced. This based on using distance mean times to event. It shown can be reduced standard convex optimiza...