Skip to content

Commit d1c01ba

Browse files
authored
[DOC] Update Supported Algorithms page and add info about TSNE (#988)
* Update supported algorithms * Change layout * Address comments * Update doc/sources/algorithms.rst * Update analytics script for docs * Update nearest neighbors info
1 parent f542d87 commit d1c01ba

File tree

4 files changed

+363
-149
lines changed

4 files changed

+363
-149
lines changed

doc/sources/_templates/layout.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
var wapLocalCode = 'us-en'; // Dynamically set per localized site, see mapping table for values
77
var wapSection = "scikit-learn"; // WAP team will give you a unique section for your site
88
// Load TMS
9-
(function () {
10-
var url = 'https://www.intel.com/content/dam/www/global/wap/tms-loader.js'; // WAP file URL
11-
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = url;
12-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
13-
})();
9+
if(document.location.href.contains("intel.github.io/scikit-learn-intelex")){
10+
(function () {
11+
var url = 'https://www.intel.com/content/dam/www/global/wap/tms-loader.js'; // WAP file URL
12+
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = url;
13+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
14+
})();
15+
}
1416
</script>
1517
{% endblock %}

0 commit comments

Comments
 (0)