Skip to content

Commit fc781c9

Browse files
authored
Update broken docs.tiledb.com links (#90)
1 parent 138c22b commit fc781c9

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

examples/models/pytorch_tiledb_models_example.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
"metadata": {},
249249
"source": [
250250
"The above step will create a TileDB array in your working directory. For information about the structure of a dense\n",
251-
"TileDB array in terms of files on disk please take a look [here](https://docs.tiledb.com/main/basic-concepts/data-format).\n",
251+
"TileDB array in terms of files on disk please take a look [here](https://docs.tiledb.com/main/concepts/data-format).\n",
252252
"Let's open our TileDB array model and check metadata. Metadata that are of type list, dict or tuple have been JSON\n",
253253
"serialized while saving, i.e., we need json.loads to deserialize them."
254254
]
@@ -315,7 +315,7 @@
315315
"metadata": {},
316316
"source": [
317317
"For the case of PyTorch models, internally, we save model's state_dict and optimizer's state_dict,\n",
318-
"as [variable sized attributes)](https://docs.tiledb.com/main/solutions/tiledb-embedded/api-usage/writing-arrays/var-length-attributes)\n",
318+
"as [variable sized attributes)](https://docs.tiledb.com/main/how-to/arrays/writing-arrays/var-length-attributes)\n",
319319
"(pickled), i.e., we can open the TileDB and get only the state_dict of the model or optimizer,\n",
320320
"without bringing the whole model in memory. For example, we can load model's and optimizer's state_dict\n",
321321
"for model tiledb-pytorch-mnist-1 as follows."
@@ -382,7 +382,7 @@
382382
"metadata": {},
383383
"source": [
384384
"What is really nice with saving models as TileDB array, is native versioning based on fragments as described\n",
385-
"[here](https://docs.tiledb.com/main/basic-concepts/data-format#immutable-fragments). We can load a model, retrain it\n",
385+
"[here](https://docs.tiledb.com/main/concepts/data-format#immutable-fragments). We can load a model, retrain it\n",
386386
"with new data and update the already existing TileDB model array with new model parameters and metadata. All information, old\n",
387387
"and new will be there and accessible. This is extremely useful when you retrain with new data or trying different architectures for the same\n",
388388
"problem, and you want to keep track of all your experiments without having to store different model instances. In our case,\n",
@@ -452,7 +452,7 @@
452452
"metadata": {},
453453
"source": [
454454
"Finally, a very interesting and useful, for machine learning models, TileDB feature that is described\n",
455-
"[here](https://docs.tiledb.com/main/basic-concepts/data-format#groups) and [here](https://docs.tiledb.com/main/solutions/tiledb-embedded/api-usage/object-management#creating-tiledb-groups)\n",
455+
"[here](https://docs.tiledb.com/main/concepts/data-format#groups) and [here](https://docs.tiledb.com/main/how-to/object-management#creating-tiledb-groups)\n",
456456
"are groups. Assuming we want to solve the MNIST problem, and we want to try several architectures. We can save each architecture\n",
457457
"as a separate TileDB array with native versioning each time it is re-trained, and then organise all models that solve the same problem (MNIST)\n",
458458
"as a TileDB array group with any kind of hierarchy. Let's firstly define a new model architecture."

examples/models/sklearn_tiledb_models_example.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@
129129
},
130130
"source": [
131131
"We can now save the trained model as a TileDB array. For information about the structure of a dense\n",
132-
"TileDB array in terms of files on disk please take a look [here](https://docs.tiledb.com/main/basic-concepts/data-format).\n",
132+
"TileDB array in terms of files on disk please take a look [here](https://docs.tiledb.com/main/concepts/data-format).\n",
133133
"At the moment (will change in the future) we use pickle, which is one of the [most common scenarios for sklearn models](https://scikit-learn.org/stable/modules/model_persistence.html),\n",
134-
"to serialize the whole model and save it as a [variable sized attribute](https://docs.tiledb.com/main/solutions/tiledb-embedded/api-usage/writing-arrays/var-length-attributes)\n",
134+
"to serialize the whole model and save it as a [variable sized attribute](https://docs.tiledb.com/main/how-to/arrays/writing-arrays/var-length-attributes)\n",
135135
"in a TileDB array. We first declare a SklearnTileDBModel object (with the corresponding uri and model attributes) and then save the model as a TileDB array.\n",
136136
"Finally, we can save any kind of metadata (in any structure, i.e., list, tuple or dictionary) by passing a dictionary to the meta attribute."
137137
]
@@ -222,7 +222,7 @@
222222
"source": [
223223
"Moving on, we can load the trained models for evaluation or retraining, as usual with Sklearn models.\n",
224224
"What is really nice with saving models as TileDB array, is native versioning based on fragments as described\n",
225-
"[here](https://docs.tiledb.com/main/basic-concepts/data-format#immutable-fragments). We can load a model, retrain it\n",
225+
"[here](https://docs.tiledb.com/main/concepts/data-format#immutable-fragments). We can load a model, retrain it\n",
226226
"with new data and update the already existing TileDB model array with new model parameters and metadata. All information, old\n",
227227
"and new will be there and accessible. This is extremely useful when you retrain with new data or trying different architectures\n",
228228
"for the same problem, and you want to keep track of all your experiments without having to store different model instances. In our case,\n",
@@ -307,7 +307,7 @@
307307
"metadata": {},
308308
"source": [
309309
"Finally, a very interesting and useful, for machine learning models, TileDB feature that is described\n",
310-
"[here](https://docs.tiledb.com/main/basic-concepts/data-format#groups) and [here](https://docs.tiledb.com/main/solutions/tiledb-embedded/api-usage/object-management#creating-tiledb-groups)\n",
310+
"[here](https://docs.tiledb.com/main/concepts/data-format#groups) and [here](https://docs.tiledb.com/main/how-to/object-management#creating-tiledb-groups)\n",
311311
"are groups. Assuming we want to solve the MNIST problem, and we want to try several architectures. We can save each architecture\n",
312312
"as a separate TileDB array with native versioning each time it is re-trained, and then organise all models that solve the same problem (MNIST)\n",
313313
"as a TileDB array group with any kind of hierarchy. Let's firstly define a new model architecture, then train a model and save\n",

examples/models/tensorflow_keras_tiledb_models_example.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"metadata": {},
141141
"source": [
142142
"The above step will create a TileDB array in your working directory. For information about the structure of a dense\n",
143-
"TileDB array in terms of files on disk please take a look [here](https://docs.tiledb.com/main/basic-concepts/data-format).\n",
143+
"TileDB array in terms of files on disk please take a look [here](https://docs.tiledb.com/main/concepts/data-format).\n",
144144
"Let's open our TileDB array model and check metadata. Metadata that are of type list, dict or tuple have been JSON\n",
145145
"serialized while saving, i.e., we need json.loads to deserialize them."
146146
]
@@ -342,7 +342,7 @@
342342
"metadata": {},
343343
"source": [
344344
"What is really nice with saving models as TileDB array, is native versioning based on fragments as described\n",
345-
"[here](https://docs.tiledb.com/main/basic-concepts/data-format#immutable-fragments). We can load a model, retrain it\n",
345+
"[here](https://docs.tiledb.com/main/concepts/data-format#immutable-fragments). We can load a model, retrain it\n",
346346
"with new data and update the already existing TileDB model array with new model parameters and metadata. All information, old\n",
347347
"and new will be there and accessible. This is extremely useful when you retrain with new data or trying different architectures\n",
348348
"for the same problem, and you want to keep track of all your experiments without having to store different model instances. In our case,\n",
@@ -410,7 +410,7 @@
410410
"metadata": {},
411411
"source": [
412412
"Finally, a very interesting and useful, for machine learning models, TileDB feature that is described\n",
413-
"[here](https://docs.tiledb.com/main/basic-concepts/data-format#groups) and [here](https://docs.tiledb.com/main/solutions/tiledb-embedded/api-usage/object-management#creating-tiledb-groups)\n",
413+
"[here](https://docs.tiledb.com/main/concepts/data-format#groups) and [here](https://docs.tiledb.com/main/how-to/object-management#creating-tiledb-groups)\n",
414414
"are groups. Assuming we want to solve the MNIST problem, and we want to try several architectures. We can save each architecture\n",
415415
"as a separate TileDB array with native versioning each time it is re-trained, and then organise all models that solve the same problem (MNIST)\n",
416416
"as a TileDB array group with any kind of hierarchy. Let's firstly define a new model architecture."

tiledb/ml/readers/pytorch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(
4141
will work, but in case it's not equal the tile extent of the first dimension of
4242
the TileDB array, you won't achieve highest read speed. For more details on tiles,
4343
tile extent and indices in TileDB, please check here:
44-
https://docs.tiledb.com/main/solutions/tiledb-embedded/performance-tips/choosing-tiling-and-cell-layout#dense-arrays
44+
https://docs.tiledb.com/main/how-to/performance/performance-tips/choosing-tiling-and-cell-layout#dense-arrays
4545
4646
:param x_array: Array that contains features.
4747
:param y_array: Array that contains labels.

tiledb/ml/readers/tensorflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __new__(
4343
will work, but in case it's not equal the tile extent of the first dimension of
4444
the TileDB array, you won't achieve highest read speed. For more details on tiles,
4545
tile extent and indices in TileDB, please check here:
46-
https://docs.tiledb.com/main/solutions/tiledb-embedded/performance-tips/choosing-tiling-and-cell-layout#dense-arrays
46+
https://docs.tiledb.com/main/how-to/performance/performance-tips/choosing-tiling-and-cell-layout#dense-arrays
4747
4848
:param x_array: Array that contains features.
4949
:param y_array: Array that contains labels.

0 commit comments

Comments
 (0)