You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Internal: Try new link checker
* Internal: Add codespell and fix typos.
* Internal: See if codespell precommit finds config.
* Internal: Found config. Now enable reading it
Closes#358
Copy file name to clipboardExpand all lines: docs/source/tutorial/algorithm_cp_als.ipynb
+2-2
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@
122
122
"cell_type": "markdown",
123
123
"metadata": {},
124
124
"source": [
125
-
"## Increase the maximium number of iterations\n",
125
+
"## Increase the maximum number of iterations\n",
126
126
"Note that the previous run kicked out at only 10 iterations, before reaching the specified convegence tolerance. Let's increase the maximum number of iterations and try again, using the same initial guess."
127
127
]
128
128
},
@@ -337,7 +337,7 @@
337
337
"source": [
338
338
"## Recommendations\n",
339
339
"* Run multiple times with different guesses and select the solution with the best fit.\n",
340
-
"* Try different ranks and choose the solution that is the best descriptor for your data based on the combination of the fit and the interpretaton of the factors, e.g., by visualizing the results."
340
+
"* Try different ranks and choose the solution that is the best descriptor for your data based on the combination of the fit and the interpretation of the factors, e.g., by visualizing the results."
Copy file name to clipboardExpand all lines: docs/source/tutorial/algorithm_gcp_opt.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@
19
19
"tags": []
20
20
},
21
21
"source": [
22
-
"This document outlines usage and examples for the generalized CP (GCP) tensor decomposition implmented in `pyttb.gcp_opt`. GCP allows alternate objective functions besides sum of squared errors, which is the standard for CP. The code support both dense and sparse input tensors, but the sparse input tensors require randomized optimization methods.\n",
22
+
"This document outlines usage and examples for the generalized CP (GCP) tensor decomposition implemented in `pyttb.gcp_opt`. GCP allows alternate objective functions besides sum of squared errors, which is the standard for CP. The code support both dense and sparse input tensors, but the sparse input tensors require randomized optimization methods.\n",
23
23
"\n",
24
24
"GCP is described in greater detail in the manuscripts:\n",
25
25
"* D. Hong, T. G. Kolda, J. A. Duersch, Generalized Canonical Polyadic Tensor Decomposition, SIAM Review, 62:133-163, 2020, https://doi.org/10.1137/18M1203626\n",
Copy file name to clipboardExpand all lines: docs/source/tutorial/algorithm_hosvd.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@
94
94
"metadata": {},
95
95
"source": [
96
96
"## Generate a core with different accuracies for different shapes\n",
97
-
"We will create a core `tensor` that has is nearly block diagonal. The blocks are expontentially decreasing in norm, with the idea that we can pick off one block at a time as we increate the prescribed accuracy of the HOSVD. To do this, we define and use a function `tenrandblk()`."
97
+
"We will create a core `tensor` that has is nearly block diagonal. The blocks are expontentially decreasing in norm, with the idea that we can pick off one block at a time as we increase the prescribed accuracy of the HOSVD. To do this, we define and use a function `tenrandblk()`."
Copy file name to clipboardExpand all lines: docs/source/tutorial/class_sptensor.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@
17
17
"metadata": {},
18
18
"source": [
19
19
"## Creating a `sptensor`\n",
20
-
"The `sptensor` class stores the data in coordinate format. A sparse `sptensor` can be created by passing in a list of subscripts and values. For example, here we pass in three subscripts and a scalar value. The resuling sparse `sptensor` has three nonzero entries, and the `shape` is the size of the largest subscript in each dimension."
20
+
"The `sptensor` class stores the data in coordinate format. A sparse `sptensor` can be created by passing in a list of subscripts and values. For example, here we pass in three subscripts and a scalar value. The resulting sparse `sptensor` has three nonzero entries, and the `shape` is the size of the largest subscript in each dimension."
Copy file name to clipboardExpand all lines: docs/source/tutorial/class_sumtensor.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@
54
54
"metadata": {},
55
55
"source": [
56
56
"## Creating sumtensors\n",
57
-
"A sumtensor `T` can only be delared as a sum of same-shaped tensors T1, T2,...,TN. The summand tensors are stored internally, which define the \"parts\" of the `sumtensor`. The parts of a `sumtensor` can be (dense) tensors (`tensor`), sparse tensors (` sptensor`), Kruskal tensors (`ktensor`), or Tucker tensors (`ttensor`). An example of the use of the sumtensor constructor follows."
57
+
"A sumtensor `T` can only be declared as a sum of same-shaped tensors T1, T2,...,TN. The summand tensors are stored internally, which define the \"parts\" of the `sumtensor`. The parts of a `sumtensor` can be (dense) tensors (`tensor`), sparse tensors (` sptensor`), Kruskal tensors (`ktensor`), or Tucker tensors (`ttensor`). An example of the use of the sumtensor constructor follows."
Copy file name to clipboardExpand all lines: docs/source/tutorial/class_tenmat.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
"cell_type": "markdown",
17
17
"metadata": {},
18
18
"source": [
19
-
"We show how to convert a `tensor` to a 2D numpy array stored with extra information so that it can be converted back to a `tensor`. Converting to a 2D numpy array requies an ordered mapping of the `tensor` indices to the rows and the columns of the 2D numpy array."
19
+
"We show how to convert a `tensor` to a 2D numpy array stored with extra information so that it can be converted back to a `tensor`. Converting to a 2D numpy array requires an ordered mapping of the `tensor` indices to the rows and the columns of the 2D numpy array."
Copy file name to clipboardExpand all lines: docs/source/tutorial/class_ttensor.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -630,7 +630,7 @@
630
630
"metadata": {},
631
631
"source": [
632
632
"### Compare visualizations\n",
633
-
"We can compare the results of reconstruction. There is no degredation in doing only a partial reconstruction. Downsampling is obviously lower resolution, but the same result as first doing the full reconstruction and then downsampling."
633
+
"We can compare the results of reconstruction. There is no degradation in doing only a partial reconstruction. Downsampling is obviously lower resolution, but the same result as first doing the full reconstruction and then downsampling."
0 commit comments