centroid — English Dictionary

centroid

Noun

  1. The point at which gravitational force (or other universally and uniformly acting force) may be supposed to act on a given rigid, uniformly dense body; the centre of gravity or centre of mass.

    Usage
    • of an object or a geometrical figure
    Examples
    More examples (3)

    The center of gravity of any body or geometrical magnitude is by definition the same as the centroid of a certain system of parallel forces. It will be convenient, therefore, to use the word centroid in most cases instead of center of gravity.[…]The centroid of any area may be found by the following method: Divide the area into parts such that the area and centroid of each part are known. Take the centroids of the partial areas as the points of application of forces proportional respectively to those areas. The centroid of this system of forces is the centroid of the total area, and may be found by the method of Art. 172.

    For example, if a postal code area (PCA) has 1000 distinct residences, we might suppose all 1000 residences are at the centroid of the PCA. Centroids are commonly used, for example, with geographic information systems and CD-ROM phone books (Francis, Lowe, Rushton and Rayco 1999).

    operatorname Centroid(𝒳)=(∫xg(x)dx)/(∫g(x)dx) (6) where the integrals are taken over the whole space ℝⁿ, and g is the characteristic function of the subset, which is 1 inside 𝒳 and 0 outside it [27].

  2. The point of intersection of the three medians of a given triangle; the point whose (Cartesian) coordinates are the arithmetic mean of the coordinates of the three vertices.

    Usage
    • specifically
    • of a triangle
  3. the point whose (Cartesian) coordinates are the arithmetic mean of the coordinates of a given finite set of points.

    Usage
    • of a finite set of points
  4. An analogue of the centre of gravity of a nonuniform body in which local density is replaced by a specified function (which can take negative values) and the place of the body's shape is taken by the function's domain.

    Usage
    • of a function
    Examples
    More examples (1)

    The centroid of an arbitrary function f is given by #92;frac#123;#92;intxf(x)dx#125;#123;#92;intf(x)dx#125;, where the integrals are calculated over the domain of f.

  5. the arithmetic mean (alternatively, median) position of a cluster of points in a coordinate system based on some application-dependent measure of distance.

    Usage
    • of a cluster of points
    Examples
    More examples (2)

    The k-means procedure classifies a given data set by using a user defined number of clusters, k, a priori. The centroids can be placed randomly, or algorithmically, but it should be noted that the initial placement will affect the result. The next step is to analyze each point within the data set and group it with the nearest centroid according to some distance metric. When all points have been assigned to a group, a new centroid is calculated for each group as a barycenter of the cluster, resulting from the previous step. Once the k new centroids are calculated, the algorithm reiterates through the data set, and each sample is again assigned to a cluster based on its distance to the new centroids. This process is continued until the position^([sic]) of the centroids no longer change.

    The k-means clustering algorithm (MacQueen, 1967) is a widely used clustering method that applies relocation of points to find a locally optimal partitioning of a dataset. In k-means, the total distance between each data point and a representative point (centroid) of the cluster to which it is assigned is minimized. Each iteration of k-means has two steps. In the cluster assignment step, k-means assigns each point to a cluster such that, of all the current cluster centroids, the point is closest to the centroid of that cluster. In the cluster re-estimation step, k-means re-estimates the new cluster centroids based on the reassignments of points to clusters in the previous step. The cluster re-assignment and centroid re-estimation steps proceed in iterations until a specified convergence criterion is reached, such as when the total distance between clusters and centroids does not change substantially from one iteration to another.

  6. Given a tree of n nodes, either (1) a unique node whose removal would split the tree into subtrees of fewer than n/2 nodes, or (2) either of a pair of adjacent nodes such that removal of the edge connecting them would split the tree into two subtrees of exactly n/2 nodes.

    Usage
    • of a tree
    Examples
    More examples (2)

    1974 [Prentice-Hall], Narsingh Deo, Graph Theory with Applications to Engineering and Computer Science, 2017, Dover, page 248, Just as in the case of centers of a tree (Section 3-4), it can be shown that every tree has either one centroid or two centroids. It can also be shown that if a tree has two centroids, the centroids are adjacent.

    2009, Hao Yuan, Patrick Eugster, An Efficient Algorithm for Solving the Dyck-CFL Reachability Problem on Trees, Giuseppe Castagna (editor), Programming Languages and Systems: 18th European Symposium, Proceedings, Springer, LNCS 5502, page 186, A node x in a tree T is called a centroid of T if the removal of x will make the size of each remaining connected component no greater than |T|/2. A tree may have at most two centroids, and if there are two then one must be a neighbor of the other [6, 5]. Throughout this paper, we specify the centroid to be the one whose numbering is lexicographically smaller (i.e., we number the nodes from 1 to n). There exists a linear time algorithm to compute the centroid of a tree due to the work of Goldman [21]. We use operatorname CT(T) to denote the centroid of T computed by the linear time algorithm.

Noun

  1. the center of mass of an object of uniform density

Word forms
centroids

Code Formatters

Format and beautify Java, Python, JavaScript, JSON, HTML and more; adjust indentation, spacing and line breaks.

More tools

Audio Editing & Effects

Trim, join or split recordings, remove silence or noise, and adjust volume, speed, pitch or channels.

More tools

Spreadsheet Tools

Open and edit CSV or Excel sheets, format tabular text, and convert CSV to Excel or SQL.

More tools

Markdown Tools

Write and preview Markdown, render Mermaid diagrams, and convert Markdown, HTML and tables between formats.

More tools

Text Tools

Compare passages, count words and keywords, sort or replace lines, and view DOCX text.

More tools

Dictionaries

Look up Chinese meanings, synonyms and antonyms, or find IPA pronunciations in multiple languages.

Audio Conversion & Playback

Convert between MP3, WAV, FLAC and more, play audio or raw PCM, and inspect or edit audio metadata.

JSON & Data Tools

Inspect, compare and validate JSON; test JSONPath expressions, or convert data to CSV, YAML and XML.

More tools

Speech Tools

Transcribe audio to text, generate speech from text, or record your voice in the browser.

Video Tools

Convert and compress video, trim or join clips, resize frames, and extract audio.

More tools

Video Playback & Recording

Play local or streaming video, record your screen or camera, and use your camera as an online mirror.

PDF Tools

Compress or merge PDFs, split and rearrange pages, convert pages to images, and view or compare documents.

More tools

Image Tools

Convert image formats, resize or crop photos, compress files, compare pictures, and extract text with OCR.

More tools

Image Creation

Capture and beautify screenshots, turn text into images or GIFs, draw on a whiteboard, and create word clouds or favicons.

More tools

Subtitle Tools

Edit SRT or VTT captions with a video preview, shift timing, convert formats, and manage subtitle tracks.

More tools

Archive Tools

Open ZIP, 7Z, RAR or TAR files, extract selected contents, and create new archives with optional ZIP/7Z passwords.

Encoders | Decoders

Encode and decode Base64 or Base32, escape URLs, HTML and Unicode text, and inspect JWT contents.

More tools

Number Tools

Convert number bases and values between binary, decimal and hex; turn numbers into words or text into binary.

Calculators

Work out percentages and fractions, summarize statistics, and calculate grades, discounts or aspect ratios.

More tools

Time Tools

Show an online clock, run a countdown or stopwatch, and calculate dates, ages or time-zone differences.

More tools

Network Tools

Check your IP and IPv6 connection, inspect HTTP requests or HAR files, and calculate CIDR address ranges.

Unit Conversions

Convert length, weight, temperature, data storage and other units.

Color Tools

Convert HEX, RGB and HSL values, extract colors from an image, check contrast, or test your display with solid colors.

QR Codes & Barcodes

Generate and scan QR codes or barcodes, including QR codes for links and Wi-Fi networks.

Developer & Security Tools

Generate hashes, UUIDs and passwords, test regular expressions, create URL slugs and check file permissions.

More tools

Utility Tools

Check screen resolution and refresh rate, measure with a screen ruler, test keys, or read from a teleprompter.

More tools

Games

2048, Minesweeper, Sudoku, Gomoku, Tank Battle

More tools