concept output in category algorithms

This is an excerpt from Manning's book Algorithms and Data Structures in Action.
An ADT is defined from the point of view of who uses it, by describing its behavior in terms of possible values, possible operations on it, and the output and side effects of these operations.
A more formal definition would describe an ADT as a set of types, a designated type from that type set, a set of functions, and a set of axioms.
Nitty/gritty coding details that in the asymptotic analysis are abstracted away. (For instance, as we have seen, static vs dynamic arrays).
Listing 13.2 MapReduce k-means
function MRkmeans(points, numShards, numClusters, maxIter, T1, T2) #1 shards ← randomShard(points, numShards) #2 centroids ← MRcanopyCentroids(points, numClusters, T1, T2) #3 mappers ← initMappers(numShards, classifyPoints, shards) #4 reducers ← initReducers(numClusters, centerOfMass) #5 for i in {0, .., maxIter-1} do #6 newCentroids ← mapReduce(centroids, mappers, reducers) #7 if centroids == newCentroids then #8 break else centroids ← newCentroids #9 return combine(mappers, centroids) #10

This is an excerpt from Manning's book Grokking Artificial Intelligence Algorithms.
Output node—The output node is a single value representing the predicted class of a specific example or the chance that the example will be in a specific class. The output might be 1 or 0, indicating whether a collision occurred; or it could be something like 0.65, indicating a 65% chance that the example resulted in a collision.