# set (10-set.com) A set is a group of things that belong together. People say 'set' when they mean a collection, like a set of dishes or a set of rules. It can also mean to put something in place or to adjust something, like setting a clock or setting the table. ## What a model may hear - unordered collection of unique elements (mathematics and programming): may assume the user wants set operations like union, intersection, or deduplication - assign a value to a variable (programming and shell commands): may interpret as an assignment operation or environment configuration - configure or enable options (command-line interfaces and databases): may list flags, parameters, or SQL SET statements - stage of a computation (machine learning and optimization): may refer to training set, test set, or validation set splitting - set theory axioms (formal logic and mathematics): may invoke ZFC axioms, Russell's paradox, or foundational discussions ## Where people and models part ways - Says: "Give me a set of ideas" Means: A varied list of suggestions May be taken as: Returns a mathematical set with no duplicates, possibly losing nuance Say instead: "Give me a diverse list of ideas, with repeats allowed if they overlap" - Says: "Set it up for me" Means: Prepare or arrange something May be taken as: Configures system variables or runs a setup script without context Say instead: "Please prepare or arrange this for me" - Says: "I have a full set" Means: Complete collection of items May be taken as: Assumes a mathematical set and asks about cardinality or emptiness Say instead: "I have all the items in this collection" - Says: "Set the value higher" Means: Increase a number or setting May be taken as: Executes a variable assignment with unclear scope or type Say instead: "Increase the number or level to a higher amount" ## Tips - Say 'collection' or 'group' if you do not need mathematical uniqueness - Say 'assign' or 'make equal to' if you mean giving a variable a value - Say 'configure' or 'turn on' if you mean changing a system setting - Specify 'training set' or 'test set' explicitly if you mean machine learning data - Use 'put in place' or 'arrange' if you mean physical placement ## Often confused with - list: allows duplicates and has order - array: indexed, ordered, fixed-size in many languages - map: pairs keys to values, not just elements - tuple: ordered and immutable - setting: a noun for configuration, not an action - setup: the result of arranging, not the act