Consider the following cases and identify the type of Machine learning Technique required (Clustering, Regression, classification, Association) i) Market research to segment the customers based on their choice and preferences.
ii) Study of effect of rain fall on the crop yield
iii) Customer behavior prediction based on their buying patterns, web store browsing patterns etc.
iv) If a person buys a product, he will be shown similar products.
begin
writeln('Введите строны первого треугольника: ');
read(a1, b1, c1);
writeln('Введите стороны второго треугольника: ');
read(a2, b2, c2);
p1 := (a1 + b1 + c1) / 2;
p2 := (a2 + b2 + c2) / 2;
s1 := sqrt(p1 * (p1 - a1) * (p1 - b1) * (p1 - c1));
s2 := sqrt(p2 * (p2 - a2) * (p2 - b2) * (p2 - c2));
if (s1 + 1e-3 > s2) and (s1 < s2 + 1e-3) then writeln('Равновеликие')
else writeln('Неравновеликие');
end.