项目文件夹

文件
Andrew Oh 1d5144f40b
CI / Type check (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Check for unused/wildcard imports (push) Has been cancelled
CI / Lint Notebooks (push) Has been cancelled
GitHub Pages / deploy (push) Has been cancelled
CI / Test: Python 3.10 on macos-13 (push) Has been cancelled
CI / Test: Python 3.11 on macos-13 (push) Has been cancelled
CI / Test: Python 3.8 on macos-13 (push) Has been cancelled
CI / Test: Python 3.9 on macos-13 (push) Has been cancelled
CI / Test: Python 3.10 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.11 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.8 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.9 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.10 on windows-latest (push) Has been cancelled
CI / Test: Python 3.11 on windows-latest (push) Has been cancelled
CI / Test: Python 3.8 on windows-latest (push) Has been cancelled
CI / Test: Python 3.9 on windows-latest (push) Has been cancelled
CI / Test without optional dependencies and with minimum compatible versions of dependencies (push) Has been cancelled
GitHub Markdown Links / test (push) Has been cancelled
GitHub Pages / links (push) Has been cancelled
add posthog script
2025-03-03 16:32:40 -08:00

86 行
5.3 KiB
HTML

{% extends "!page.html" %} {% block content %}
<noscript>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>
Parts of this site uses JavaScript, but your browser does not
support it.
</p>
</div>
</noscript>
<div>
<agility-assistant
access-token="public-assistant-1e1cd1d0-5f87546555cc7497"
assistant-id="69391e48-a95f-4f8d-8dc2-025f1e1cd1d0"
assistant-title="Cleanlab Open Source Assistant"
assistant-placeholder="Ask a question"
assistant-description="An assistant to help you with your questions about Cleanlab Open Source"
logo-url="https://cleanlab.ai/icon-512.png"
/>
<script>
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.crossOrigin="anonymous",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="init capture register register_once register_for_session unregister unregister_for_session getFeatureFlag getFeatureFlagPayload isFeatureEnabled reloadFeatureFlags updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures on onFeatureFlags onSessionId getSurveys getActiveMatchingSurveys renderSurvey canRenderSurvey identify setPersonProperties group resetGroups setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags reset get_distinct_id getGroups get_session_id get_session_replay_url alias set_config startSessionRecording stopSessionRecording sessionRecordingStarted captureException loadToolbar get_property getSessionProperty createPersonProfile opt_in_capturing opt_out_capturing has_opted_in_capturing has_opted_out_capturing clear_opt_in_out_capturing debug getPageViewId captureTraceFeedback captureTraceMetric".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
posthog.init('phc_IqHg4uTP2wPykNG21gDwDBqarxhTswDKPj9cIUxIuoe', {
api_host: 'https://us.i.posthog.com',
person_profiles: 'identified_only', // or 'always' to create profiles for anonymous users as well
})
</script>
</div>
{% if current_version %}
<!-- Start of Version Warning Banner -->
<p id="doc_ver_warning"></p>
<script type="text/javascript" src="{{ DOCS_SITE_URL }}versioning.js"></script>
<script type="text/javascript">
window.addEventListener("load", () => {
const version_number = Version.version_number;
const path_arr = window.location.pathname.split("/");
if (path_arr.includes("master")) {
document.getElementById(
"doc_ver_warning"
).innerHTML = `<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This version of the documentation corresponds to the master branch of <code class="docutils literal notranslate"><span class="pre">cleanlab</span></code> source code from <a href="https://github.com/cleanlab/cleanlab/">GitHub</a>. To see the documentation for the latest <code class="docutils literal notranslate"><span class="pre">pip</span></code>-installed version, click <a href="{{ DOCS_SITE_URL }}">here</a>.</p>
</div>`;
} else if (
!path_arr.includes(version_number) &&
!path_arr.includes("stable")
) {
document.getElementById("doc_ver_warning").innerHTML =
`<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This documentation is for an old version (<code class="docutils literal notranslate"><span class="pre">{{ current_version.name }}</span></code>) of <code class="docutils literal notranslate"><span class="pre">cleanlab</span></code>. To see the documentation for the latest stable version (<code class="docutils literal notranslate"><span class="pre">` +
version_number +
`</span></code>), click <a href="{{ DOCS_SITE_URL }}">here</a>.</p>
</div>`;
} else {
document.getElementById("doc_ver_warning").remove();
}
});
</script>
<!-- End of Version Warning Banner -->
{% endif %} {{ super() }} {% endblock %} {% block footer %} {{ super() }}
<script type="text/javascript">
window.addEventListener("load", () => {
let elements = document.getElementsByClassName("left-details");
elements[0].insertAdjacentHTML(
"afterbegin",
`<code class="docutils literal notranslate"><span class="pre">cleanlab</span></code> is distributed on <a href="https://pypi.org/project/cleanlab/">PyPI</a> and <a href="https://anaconda.org/conda-forge/cleanlab">conda</a>.`
);
});
</script>
{% endblock %} {% block regular_scripts %}{{ super() }}
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src="https://cdn.cleanlab.ai/v1.1.1/agility-web-component.js"></script>
{% endblock %}