An algorithm is needed to write to create an automated process which is generally used in technology and computer.
The algorithm is described as a set of instructions or rules through which a process is accomplished. It is generally used in the programming language that gives input to solve a certain problem related to technology.
Therefore, the automation process is made used for making the human task easy by making a set of algorithms to reach a particular output.
However, correlation is a technique to establish a relationship between variables while customer segmentation implies a group of customers having the same nature or interest.
Learn more about algorithms here:
https://brainly.com/question/6252346
#SPJ1