> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gpudb::AggregateKMeansRequest

> gpudb::AggregateKMeansRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ad5a2053d2dbd8781f49d4ce47c902c3e">GPUdb::aggregateKMeans</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/aggregate__k__means_8h_source">gpudb/protocol/aggregate\_k\_means.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:ac604c7425ed52a0dad3e7217e48e1bce" id="r_ac604c7425ed52a0dad3e7217e48e1bce">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ac604c7425ed52a0dad3e7217e48e1bce">AggregateKMeansRequest</a> ()</td>
      </tr>

      <tr className="memdesc:ac604c7425ed52a0dad3e7217e48e1bce">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AggregateKMeansRequest" title="A set of parameters for GPUdb::aggregateKMeans.">AggregateKMeansRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:ac604c7425ed52a0dad3e7217e48e1bce">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a30f787d727c160547ae69d4788fc94e5" id="r_a30f787d727c160547ae69d4788fc94e5">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a30f787d727c160547ae69d4788fc94e5">AggregateKMeansRequest</a> (const std::string \&tableName\_, const std::vector\< std::string > \&columnNames\_, const int32\_t k\_, const double tolerance\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:a30f787d727c160547ae69d4788fc94e5">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AggregateKMeansRequest" title="A set of parameters for GPUdb::aggregateKMeans.">AggregateKMeansRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:a30f787d727c160547ae69d4788fc94e5">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:a79c003f322468efe72411de7cf39dc4e" id="r_a79c003f322468efe72411de7cf39dc4e">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a79c003f322468efe72411de7cf39dc4e">tableName</a></td>
      </tr>

      <tr className="memdesc:a79c003f322468efe72411de7cf39dc4e">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the table on which the operation will be performed. <br /></td>
      </tr>

      <tr className="separator:a79c003f322468efe72411de7cf39dc4e">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a8c27d04e16dab9a1acdb297b4dd105ce" id="r_a8c27d04e16dab9a1acdb297b4dd105ce">
        <td className="memItemLeft" align="right" valign="top">std::vector\< std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a8c27d04e16dab9a1acdb297b4dd105ce">columnNames</a></td>
      </tr>

      <tr className="memdesc:a8c27d04e16dab9a1acdb297b4dd105ce">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">List of column names on which the operation would be performed. <br /></td>
      </tr>

      <tr className="separator:a8c27d04e16dab9a1acdb297b4dd105ce">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a9ac4678b1b16a0686448548d6f59210b" id="r_a9ac4678b1b16a0686448548d6f59210b">
        <td className="memItemLeft" align="right" valign="top">int32\_t </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a9ac4678b1b16a0686448548d6f59210b">k</a></td>
      </tr>

      <tr className="memdesc:a9ac4678b1b16a0686448548d6f59210b">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">The number of mean points to be determined by the algorithm. <br /></td>
      </tr>

      <tr className="separator:a9ac4678b1b16a0686448548d6f59210b">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:afe132977a597ad71be4595d57e45d4fd" id="r_afe132977a597ad71be4595d57e45d4fd">
        <td className="memItemLeft" align="right" valign="top">double </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#afe132977a597ad71be4595d57e45d4fd">tolerance</a></td>
      </tr>

      <tr className="memdesc:afe132977a597ad71be4595d57e45d4fd">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Stop iterating when the distances between successive points is less than the given tolerance. <br /></td>
      </tr>

      <tr className="separator:afe132977a597ad71be4595d57e45d4fd">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:afdbc09ad0f9c8ede8447b939ef2276df" id="r_afdbc09ad0f9c8ede8447b939ef2276df">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#afdbc09ad0f9c8ede8447b939ef2276df">options</a></td>
      </tr>

      <tr className="memdesc:afdbc09ad0f9c8ede8447b939ef2276df">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:afdbc09ad0f9c8ede8447b939ef2276df">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ad5a2053d2dbd8781f49d4ce47c902c3e">GPUdb::aggregateKMeans</a>. </p>
      <p>This endpoint runs the k-means algorithm - a heuristic algorithm that attempts to do k-means clustering. An ideal k-means clustering algorithm selects k points such that the sum of the mean squared distances of each member of the set to the nearest of the k points is minimized. The k-means algorithm however does not necessarily produce such an ideal cluster. It begins with a randomly selected set of k points and then refines the location of the points iteratively and settles to a local minimum. Various parameters and options are provided to control the heuristic search.</p>
      <p>NOTE: The Kinetica instance being accessed must be running a CUDA (GPU-based) build to service this request. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source#l00029">29</a> of file <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source">aggregate\_k\_means.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#ac604c7425ed52a0dad3e7217e48e1bce">◆ </a></span>AggregateKMeansRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::AggregateKMeansRequest::AggregateKMeansRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AggregateKMeansRequest" title="A set of parameters for GPUdb::aggregateKMeans.">AggregateKMeansRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source#l00034">34</a> of file <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source">aggregate\_k\_means.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a30f787d727c160547ae69d4788fc94e5">◆ </a></span>AggregateKMeansRequest() <span className="overload">\[2/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::AggregateKMeansRequest::AggregateKMeansRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">tableName\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::vector\< std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">columnNames\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const int32\_t</td>
                  <td className="paramname"><span className="paramname"><span className="em">k\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const double</td>
                  <td className="paramname"><span className="paramname"><span className="em">tolerance\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::map\< std::string, std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">options\_</span></span> )</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AggregateKMeansRequest" title="A set of parameters for GPUdb::aggregateKMeans.">AggregateKMeansRequest</a> object with the specified parameters. </p>

        <div className="dl params">
          <div className="dt">Parameters</div>

          <div className="dd">
            <table className="params">
              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">tableName\_</td>
                <td>Name of the table on which the operation will be performed. Must be an existing table, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">columnNames\_</td>
                <td>List of column names on which the operation would be performed. If n columns are provided then each of the k result points will have n dimensions corresponding to the n columns. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">k\_</td>
                <td>The number of mean points to be determined by the algorithm. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">tolerance\_</td>
                <td>Stop iterating when the distances between successive points is less than the given tolerance. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>

                <td>
                  Optional parameters.

                  <ul>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#accffe0d5bdce257dcd6fc2dcbfc4e114">aggregate\_k\_means\_whiten</a>: When set to 1 each of the columns is first normalized by its stdv - default is not to whiten. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a935f1e072f932bc8077e0c420d7eaf0d">aggregate\_k\_means\_max\_iters</a>: Number of times to try to hit the tolerance limit before giving up - default is 10. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#acaccbb0f7d7f66237de23f0a52b353c9">aggregate\_k\_means\_num\_tries</a>: Number of times to run the k-means algorithm with a different randomly selected starting points - helps avoid local minimum. Default is 1. </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#ac2dbbed6d5915b77fd2d96d822a45c56">aggregate\_k\_means\_create\_temp\_table</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a806315c06574b201e75ec323030fca04">true</a>, a unique temporary table name will be generated in the sys\_temp schema and used in place of <a className="el" href="/content/api/cpp/namespacegpudb#aaac1a56923c27501a783d47cf036f1e2">result\_table</a>. If <a className="el" href="/content/api/cpp/namespacegpudb#a7c89b6148e0de3beb043c8a4fc2dff15">result\_table\_persist</a> is <a className="el" href="/content/api/cpp/namespacegpudb#ac434edd0cd229d6b29ad08da700a6cee">false</a> (or unspecified), then this is always allowed even if the caller does not have permission to create tables. The generated name is returned in <a className="el" href="/content/api/cpp/namespacegpudb#a3751e914a2b49c5dae04100e3298b086">qualified\_result\_table\_name</a>. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a806315c06574b201e75ec323030fca04">aggregate\_k\_means\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ac434edd0cd229d6b29ad08da700a6cee">aggregate\_k\_means\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ac434edd0cd229d6b29ad08da700a6cee">aggregate\_k\_means\_false</a>.
                    </li>

                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#aaac1a56923c27501a783d47cf036f1e2">aggregate\_k\_means\_result\_table</a>: The name of a table used to store the results, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. If this option is specified, the results are not returned in the response. </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#a7c89b6148e0de3beb043c8a4fc2dff15">aggregate\_k\_means\_result\_table\_persist</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a806315c06574b201e75ec323030fca04">true</a>, then the result table specified in <a className="el" href="/content/api/cpp/namespacegpudb#aaac1a56923c27501a783d47cf036f1e2">result\_table</a> will be persisted and will not expire unless a <a className="el" href="/content/api/cpp/namespacegpudb#aa0654f4d5266cdd1a97095482e410298">ttl</a> is specified. If <a className="el" href="/content/api/cpp/namespacegpudb#ac434edd0cd229d6b29ad08da700a6cee">false</a>, then the result table will be an in-memory table and will expire unless a <a className="el" href="/content/api/cpp/namespacegpudb#aa0654f4d5266cdd1a97095482e410298">ttl</a> is specified otherwise. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a806315c06574b201e75ec323030fca04">aggregate\_k\_means\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ac434edd0cd229d6b29ad08da700a6cee">aggregate\_k\_means\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ac434edd0cd229d6b29ad08da700a6cee">aggregate\_k\_means\_false</a>.
                    </li>

                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa0654f4d5266cdd1a97095482e410298">aggregate\_k\_means\_ttl</a>: Sets the <a href="/content/concepts/ttl/" target="_top">TTL</a> of the table specified in <a className="el" href="/content/api/cpp/namespacegpudb#aaac1a56923c27501a783d47cf036f1e2">result\_table</a>. </li>
                  </ul>

                  The default value is an empty map.
                </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source#l00162">162</a> of file <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source">aggregate\_k\_means.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a8c27d04e16dab9a1acdb297b4dd105ce">◆ </a></span>columnNames</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::vector\<std::string> gpudb::AggregateKMeansRequest::columnNames</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>List of column names on which the operation would be performed. </p>
        <p>If n columns are provided then each of the k result points will have n dimensions corresponding to the n columns. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source#l00184">184</a> of file <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source">aggregate\_k\_means.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a9ac4678b1b16a0686448548d6f59210b">◆ </a></span>k</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">int32\_t gpudb::AggregateKMeansRequest::k</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>The number of mean points to be determined by the algorithm. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source#l00189">189</a> of file <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source">aggregate\_k\_means.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#afdbc09ad0f9c8ede8447b939ef2276df">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::AggregateKMeansRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#accffe0d5bdce257dcd6fc2dcbfc4e114">aggregate\_k\_means\_whiten</a>: When set to 1 each of the columns is first normalized by its stdv - default is not to whiten. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a935f1e072f932bc8077e0c420d7eaf0d">aggregate\_k\_means\_max\_iters</a>: Number of times to try to hit the tolerance limit before giving up - default is 10. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#acaccbb0f7d7f66237de23f0a52b353c9">aggregate\_k\_means\_num\_tries</a>: Number of times to run the k-means algorithm with a different randomly selected starting points - helps avoid local minimum. Default is 1. </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#ac2dbbed6d5915b77fd2d96d822a45c56">aggregate\_k\_means\_create\_temp\_table</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a806315c06574b201e75ec323030fca04">true</a>, a unique temporary table name will be generated in the sys\_temp schema and used in place of <a className="el" href="/content/api/cpp/namespacegpudb#aaac1a56923c27501a783d47cf036f1e2">result\_table</a>. If <a className="el" href="/content/api/cpp/namespacegpudb#a7c89b6148e0de3beb043c8a4fc2dff15">result\_table\_persist</a> is <a className="el" href="/content/api/cpp/namespacegpudb#ac434edd0cd229d6b29ad08da700a6cee">false</a> (or unspecified), then this is always allowed even if the caller does not have permission to create tables. The generated name is returned in <a className="el" href="/content/api/cpp/namespacegpudb#a3751e914a2b49c5dae04100e3298b086">qualified\_result\_table\_name</a>. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a806315c06574b201e75ec323030fca04">aggregate\_k\_means\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ac434edd0cd229d6b29ad08da700a6cee">aggregate\_k\_means\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ac434edd0cd229d6b29ad08da700a6cee">aggregate\_k\_means\_false</a>.
          </li>

          <li> <a className="el" href="/content/api/cpp/namespacegpudb#aaac1a56923c27501a783d47cf036f1e2">aggregate\_k\_means\_result\_table</a>: The name of a table used to store the results, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. If this option is specified, the results are not returned in the response. </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#a7c89b6148e0de3beb043c8a4fc2dff15">aggregate\_k\_means\_result\_table\_persist</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a806315c06574b201e75ec323030fca04">true</a>, then the result table specified in <a className="el" href="/content/api/cpp/namespacegpudb#aaac1a56923c27501a783d47cf036f1e2">result\_table</a> will be persisted and will not expire unless a <a className="el" href="/content/api/cpp/namespacegpudb#aa0654f4d5266cdd1a97095482e410298">ttl</a> is specified. If <a className="el" href="/content/api/cpp/namespacegpudb#ac434edd0cd229d6b29ad08da700a6cee">false</a>, then the result table will be an in-memory table and will expire unless a <a className="el" href="/content/api/cpp/namespacegpudb#aa0654f4d5266cdd1a97095482e410298">ttl</a> is specified otherwise. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a806315c06574b201e75ec323030fca04">aggregate\_k\_means\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ac434edd0cd229d6b29ad08da700a6cee">aggregate\_k\_means\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ac434edd0cd229d6b29ad08da700a6cee">aggregate\_k\_means\_false</a>.
          </li>

          <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa0654f4d5266cdd1a97095482e410298">aggregate\_k\_means\_ttl</a>: Sets the <a href="/content/concepts/ttl/" target="_top">TTL</a> of the table specified in <a className="el" href="/content/api/cpp/namespacegpudb#aaac1a56923c27501a783d47cf036f1e2">result\_table</a>. </li>
        </ul>

        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source#l00268">268</a> of file <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source">aggregate\_k\_means.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a79c003f322468efe72411de7cf39dc4e">◆ </a></span>tableName</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::AggregateKMeansRequest::tableName</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the table on which the operation will be performed. </p>
        <p>Must be an existing table, in \[ schema\_name. ]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source#l00177">177</a> of file <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source">aggregate\_k\_means.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#afe132977a597ad71be4595d57e45d4fd">◆ </a></span>tolerance</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">double gpudb::AggregateKMeansRequest::tolerance</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Stop iterating when the distances between successive points is less than the given tolerance. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source#l00195">195</a> of file <a className="el" href="/content/api/cpp/aggregate__k__means_8h_source">aggregate\_k\_means.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/aggregate__k__means_8h_source">aggregate\_k\_means.h</a></li>
    </ul>
  </div>
</div>
