The phrase "depending on the environment" is correct and can be used in written English. It is a phrase used to indicate that something is dependent on or subject to the specific environment. For example: "The type of tree that grows in a particular area depends on the environment.".
Moreover, depending on the environment, it is possible that one algorithm will outperform the others in some respects.
To ensure that the character of the music changed depending on the environment, he followed self-imposed rules; one environment could feature guitars, but not piano, for instance.
Finally, EZH2 may have context-dependent functions so that it affects different genes, depending on the environment, such as the estrogen-receptor status of a cancer [ 41].
"John voices that, depending on the environment and the mood and the current events," says one pal.
The contextual realities vary from one region to another, as the content of a package brings satisfaction depending on the environment in which the health officer resides.
Those debates can only happen within a particular country depending on the environment they are in.
The bacteria can float in the air for several hours, depending on the environment.
Ludwig does not simply clarify my doubts with English writing, it enlightens my writing with new possibilities
Simone Ivan Conte
Software Engineer at Adobe, UK