/** @import { InputType } from "../index.js" */ /** @import { ParametersFASTMAP } from "./index.js"; */ /** * FastMap algorithm for dimensionality reduction. * * A very fast algorithm for projecting high-dimensional data into a lower-dimensional * space while preserving pairwise distances. It works similarly to PCA but uses * only a subset of the data to find projection axes. * * @class * @template {InputType} T * @extends DR * @category Dimensionality Reduction */ export class FASTMAP extends DR { /** * @template {InputType} T * @param {T} X * @param {Partial} parameters * @returns {T} */ static transform(X: T_1, parameters: Partial): T_1; /** * @template {InputType} T * @param {T} X * @param {Partial} parameters * @returns {Generator} */ static generator( X: T_1, parameters: Partial, ): Generator; /** * @template {InputType} T * @param {T} X * @param {Partial} parameters * @returns {Promise} */ static transform_async( X: T_1, parameters: Partial, ): Promise; /** * FastMap: a fast algorithm for indexing, data-mining and visualization of traditional and multimedia datasets. * @param {T} X - The high-dimensional data. * @param {Partial} parameters - Object containing parameterization of the DR method. * @see {@link https://doi.org/10.1145/223784.223812} */ constructor(X: T, parameters: Partial); /** * Chooses two points which are the most distant in the actual projection. * * @private * @param {(a: number, b: number) => number} dist * @returns {[number, number, number]} An array consisting of first index, second index, and distance between the * two points. */ private _choose_distant_objects; /** * Computes the projection. * * @returns {T} The `d`-dimensional projection of the data matrix `X`. */ transform(): T; generator(): Generator; } import type { InputType } from "../index.js"; import type { ParametersFASTMAP } from "./index.js"; import { DR } from "./DR.js"; //# sourceMappingURL=FASTMAP.d.ts.map