Skip to content

Commit

Permalink
chore: turn off barrier exec mode in VW generic sample (#2072)
Browse files Browse the repository at this point in the history
* turn off barrier exec mode

* fix broken links

* chore: fix 404 page

* update redirect list
  • Loading branch information
mhamilton723 authored Sep 14, 2023
1 parent dd7ba7c commit 17fddae
Show file tree
Hide file tree
Showing 5 changed files with 284 additions and 192 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
"\n",
"model = VowpalWabbitGeneric(\n",
" numPasses=5,\n",
" useBarrierExecutionMode=False,\n",
" passThroughArgs=\"--holdout_off --loss_function logistic --link logistic\",\n",
").fit(train)"
]
Expand Down
57 changes: 57 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,61 @@ module.exports = {
},
],
],
plugins: [
[
'@docusaurus/plugin-client-redirects',
{
redirects: [
{
to: '/docs/Explore Algorithms/AI Services/Quickstart - Create Audiobooks/',
from: '/docs/features/cognitive_services/CognitiveServices%20-%20Create%20Audiobooks/',
},
{
to: '/docs/Overview/',
from: '/docs/about/',
},
{
to: '/docs/Explore Algorithms/OpenAI/',
from: '/docs/features/cognitive_services/CognitiveServices%20-%20OpenAI/',
},
{
to: '/docs/Explore Algorithms/LightGBM/Overview/',
from: '/docs/features/lightgbm/about/',
},
{
to: '/docs/Get Started/Install SynapseML/',
from: '/docs/getting_started/installation/',
},
{
to: '/docs/Explore Algorithms/AI Services/Overview/',
from: '/docs/features/cognitive_services/CognitiveServices%20-%20Overview/',
},
{
to: '/docs/Explore Algorithms/AI Services/Multivariate Anomaly Detection/',
from: '/docs/features/isolation_forest/IsolationForest%20-%20Multivariate%20Anomaly%20Detection/',
},
{
to: '/docs/Quick Examples/transformers/transformers_cognitive/',
from: '/docs/documentation/transformers/transformers_cognitive/',
},
{
to: '/docs/Explore Algorithms/OpenAI/Quickstart - OpenAI Embedding/',
from: '/docs/features/cognitive_services/CognitiveServices%20-%20OpenAI%20Embedding/',
},
{
to: '/docs/Explore Algorithms/Deep Learning/Quickstart - ONNX Model Inference/',
from: '/docs/features/onnx/ONNX%20-%20Inference%20on%20Spark/',
},
{
to: '/docs/Explore Algorithms/AI Services/Geospatial Services/',
from: '/docs/features/geospatial_services/GeospatialServices%20-%20Overview/',
},
{
to: '/docs/Explore Algorithms/Responsible AI/Interpreting Model Predictions/',
from: '/docs/features/responsible_ai/Model%20Interpretation%20on%20Spark/',
},
],
},
],
],
};
9 changes: 5 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
"audit:fix": "npx yarn-audit-fix"
},
"dependencies": {
"@docusaurus/core": "^2.2.0",
"@docusaurus/preset-classic": "^2.2.0",
"@docusaurus/theme-classic": "^2.2.0",
"@docusaurus/theme-search-algolia": "^2.2.0",
"@docusaurus/core": "^2.4.1",
"@docusaurus/plugin-client-redirects": "^2.4.1",
"@docusaurus/preset-classic": "^2.4.1",
"@docusaurus/theme-classic": "^2.4.1",
"@docusaurus/theme-search-algolia": "^2.4.1",
"ansi-html-community": "^0.0.8",
"caniuse-lite": "^1.0.30001435",
"classnames": "^2.3.2",
Expand Down
5 changes: 2 additions & 3 deletions website/src/theme/NotFound/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ function NotFound() {
<div className="container margin-vert--xl">
<div className="row">
<div className={classnames("col col--6 col--offset-3", styles.notFoundContainer)}>
<img src="/img/Blobsherlock.svg" className={classnames("margin-bottom--lg", styles.notFoundBlob)}/>
<h1 className="hero__title">Woops! Page Not Found</h1>
<p>The documentation site has recently moved, chances are that the page you're looking for is <a href="/docs/about">in the new docs section</a>.</p>
<h1 className="hero__title">Sorry! Page Not Found</h1>
<p>We have been doing some work on our website, chances are that the page you're looking for is <a href="./docs/Overview/">in the new docs section</a>.</p>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit 17fddae

Please sign in to comment.