8000 Merge pull request #46 from NiklasGustafsson/main · dotnet/TorchSharpExamples@1218eaa · GitHub
[go: up one dir, main page]

Skip to content

Commit 1218eaa

Browse files
Merge pull request #46 from NiklasGustafsson/main
Updated tutorial comments on 'Multinomial'
2 parents c40f053 + aa8966b commit 1218eaa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tutorials/CSharp/tutorial4.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
"cell_type": "markdown",
219219
"metadata": {},
220220
"source": [
221-
"There's a class corresponding to 'Multinomial' for categorical distributions. Here, the category is denoted by the index into the tensor. For sample sizes of at least one dimension, the innermost dimension (the last index) representes the category. In other words, each row is a sample, each column is a category. The value in each cell is how many times (out of the total count specified) that the category was selected."
221+
"Like 'Binomial' for binary distributions, there's a class 'Multinomial' for categorical distributions that aren't binary. Here, the category is denoted by the index into the tensor. For sample sizes of at least one dimension, the innermost dimension (the last index) representes the category. In other words, each row is a sample, each column is a category. The value in each cell is how many times (out of the total count specified) that the category was selected."
222222
]
223223
},
224224
{

tutorials/FSharp/tutorial4.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
"cell_type": "markdown",
220220
"metadata": {},
221221
"source": [
222-
"There's a class corresponding to 'Multinomial' for categorical distributions. Here, the category is denoted by the index into the tensor. For sample sizes of at least one dimension, the innermost dimension (the last index) representes the category. In other words, each row is a sample, each column is a category. The value in each cell is how many times (out of the total count specified) that the category was selected."
222+
"Like 'Binomial' for binary distributions, there's a class 'Multinomial' for categorical distributions that aren't binary. Here, the category is denoted by the index into the tensor. For sample sizes of at least one dimension, the innermost dimension (the last index) representes the category. In other words, each row is a sample, each column is a category. The value in each cell is how many times (out of the total count specified) that the category was selected."
223223
]
224224
},
225225
{

0 commit comments

Comments
 (0)
0