Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from tensorflow:master #7

Merged
merged 94 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
5f3d273
Update preprocessing_layers.ipynb
Mikhaylov-yv Nov 12, 2023
6879b09
Rename deprecated call to experimental_distribute_datasets_from_function
swap-10 Nov 24, 2023
d64c7d9
Fix oob index in sparse example
ericcanton Dec 7, 2023
c8ad7a4
Fixed punctuation in caching.md
jmarcinowski Apr 5, 2024
c494be5
Update pip.md
sgkouzias Apr 8, 2024
40824e4
Update pip.md
sgkouzias Apr 8, 2024
840fec9
Update pip.md
sgkouzias Apr 9, 2024
5448363
Update pip.md
sgkouzias Apr 10, 2024
c7518a2
Update pip.md
sgkouzias Apr 10, 2024
6a40fe4
Update pip.md
sgkouzias Apr 10, 2024
82713bf
Update pip.md
sgkouzias Apr 10, 2024
f2c7ee7
Documentation Fix - Ragged Tensor
balaganesh102004 Apr 11, 2024
b81e4f2
Update pip.md
sgkouzias Apr 12, 2024
aebf305
Update pip.md
sgkouzias Apr 12, 2024
e30c5f5
Fixed the imbalanced classification notebook to work for TensorFlow 2.16
priankakariat May 2, 2024
f1e9a44
Update pip.md
joaomh May 15, 2024
5613e4e
Merge branch 'master' into imbalanced_classification_tf_2.16_fixes
priankakariat May 30, 2024
c5941e0
Cleared outputs in imbalanced_data.ipy
priankakariat May 30, 2024
4b60ead
Applied formatting
priankakariat May 30, 2024
146bbeb
Simplify procedure by removing option to install with conda virtual env.
sgkouzias Jun 17, 2024
7cf1c57
Instructions to create symlinks to NVIDIA shared libraries and ptxas.
sgkouzias Jun 18, 2024
3046cdc
Removed deactivate command.
sgkouzias Jun 19, 2024
fe0d285
Update regression.ipynb to explicitly cast one-hot encoding values
jperk224 Jun 23, 2024
d135e81
Add reference to Tensor object.
jperk224 Jun 24, 2024
7f5cce6
Instructions to create symlinks in case the intended way doesn't work.
sgkouzias Jul 2, 2024
64e7c50
Reformat disclaimer on environment configuration step.
sgkouzias Jul 3, 2024
84289c8
TF 2.17: Update documentation for wheel locations and toolchain changes
rtg0795 Jul 23, 2024
460419a
Remove unnecessary external tags.
MarkDaoust Jul 24, 2024
55c0d21
Update pandas_dataframe.ipynb
MarkDaoust Aug 6, 2024
117c1d3
debug
MarkDaoust Aug 6, 2024
64e7a68
debug
MarkDaoust Aug 6, 2024
87b01f0
Merge branch 'master' into ValueError_indexing
MarkDaoust Aug 6, 2024
5b47d57
Merge pull request #2318 from tensorflow:MarkDaoust-patch-1
copybara-github Aug 14, 2024
7d4187e
Introduce hermetic CUDA in Google ML projects.
tensorflower-gardener Aug 14, 2024
4a3e670
Merge pull request #2305 from priankakariatyml:imbalanced_classificat…
copybara-github Aug 19, 2024
d1ab9f4
Add a workflow for stale issues/PRs (#2319)
markmcd Aug 19, 2024
bc7239f
Refactor hermetic CUDA flags and update `--config=cuda` to add CUDA d…
tensorflower-gardener Aug 23, 2024
47be34d
debug
MarkDaoust Aug 23, 2024
426ab2a
Update site/en/guide/ragged_tensor.ipynb
MarkDaoust Aug 23, 2024
57d0938
Fix stale issue label (#2320)
markmcd Aug 23, 2024
5c5a466
Merge pull request #2302 from balaganesh102004:master
copybara-github Aug 26, 2024
81fd4ec
Update pip.md
love-bees Aug 28, 2024
27df800
fixed the tf issue #74564
sanskarmodi8 Aug 28, 2024
93f3a79
Delete site/en/tutorials/keras/text_classification.ipynb
sanskarmodi8 Aug 29, 2024
70c03a9
saved the formatted nb
sanskarmodi8 Aug 29, 2024
bd582f3
Apply suggestions from code review
MarkDaoust Aug 29, 2024
3d45463
Merge pull request #2322 from sanskarmodi8:fix-tf-issue-74564
copybara-github Aug 30, 2024
82a582c
Add TensorFlow Lite API references to docs repo.
markmcd Aug 30, 2024
a5635bc
Merge pull request #2321 from love-bees:master
copybara-github Sep 4, 2024
384b62a
Merge pull request #2285 from Mikhaylov-yv:ValueError_indexing
copybara-github Sep 4, 2024
48a1db2
Merge branch 'master' into tpu-guide-rename-deprecated-fn
8bitmp3 Sep 4, 2024
050f9ec
Merge pull request #2298 from jmarcinowski:patch-1
copybara-github Sep 4, 2024
f3b5dc4
Merge pull request #2287 from swap-10:tpu-guide-rename-deprecated-fn
copybara-github Sep 4, 2024
69a53ae
Merge pull request #2290 from ericcanton:patch-3
copybara-github Sep 4, 2024
06798ba
Move the GPU debugging step to after the "Test the installation" step.
MarkDaoust Sep 4, 2024
27ba8a4
Merge pull request #2299 from sgkouzias:patch-1
copybara-github Sep 5, 2024
45a981f
Move TF Lite API docs to TF repo.
markmcd Sep 6, 2024
d1147c6
fixed several issues in save_and_load.ipynb notebook in keras tutoria…
sanskarmodi8 Sep 8, 2024
a2a302e
removed outputs and formatted
sanskarmodi8 Sep 10, 2024
9e6397b
mkdir
MarkDaoust Sep 10, 2024
9b9c9af
Update tensorflow.py
ktonthat Sep 10, 2024
b90b419
formatted notebook using nbfmt after mkdir changes
sanskarmodi8 Sep 11, 2024
1f53d0a
save checkpoint as .weights.h5
mahsanghani Sep 11, 2024
9ba0000
Merge branch 'tensorflow:master' into patch-2
mahsanghani Sep 11, 2024
f1ba57a
Fix lr -> learning_rate
MarkDaoust Sep 11, 2024
774fbc8
Update site/en/tutorials/distribute/keras.ipynb
MarkDaoust Sep 11, 2024
9555b66
implement latest_checkpoint.
MarkDaoust Sep 11, 2024
7b56abd
ensured correct linting
sanskarmodi8 Sep 11, 2024
7df1042
Merge pull request #2324 from sanskarmodi8:issue#75196-fix
copybara-github Sep 12, 2024
2305816
edited the compile_and_fit method in to correctly passs the train and…
sanskarmodi8 Sep 8, 2024
58ee6f8
removed commit from another pr, ensured proper linting and formatting…
sanskarmodi8 Sep 12, 2024
7d04d5d
Merge pull request #2327 from mahsanghani:patch-2
copybara-github Sep 12, 2024
f8341de
format
MarkDaoust Sep 13, 2024
c841a6e
Merge pull request #2325 from sanskarmodi8:issue#75194-fix
copybara-github Sep 16, 2024
98fa059
Merge pull request #2324 from sanskarmodi8:issue#75196-fix
copybara-github Sep 16, 2024
2cafc4b
Update text_classification_with_hub.ipynb
tilakrayal Sep 23, 2024
6fd6b5c
chore(tfhub): update references from tfhub-modules bucket to kaggle-t…
tensorflower-gardener Sep 26, 2024
a45eae2
Add `.keras` filename extension when saving model.
tensorflower-gardener Oct 2, 2024
cc191d4
Update graph_optimization.ipynb
louie-tsai Oct 11, 2024
d8930ca
Merge pull request #2316 from jperk224:patch-1
copybara-github Oct 11, 2024
5107d2a
Formatting
markmcd Oct 14, 2024
a1137cb
Merge pull request #2326 from tensorflow:ktonthat-patch-2
copybara-github Oct 14, 2024
bd1c161
Merge pull request #2330 from tilakrayal:patch-17
copybara-github Oct 15, 2024
344f0e9
Merge pull request #2331 from intel-ai-tce:graph_optimze
copybara-github Oct 21, 2024
0eff510
Improve the grammar
ankur0904 Oct 23, 2024
1e2f2d1
Merge pull request #2333 from ankur0904:fix-typo
copybara-github Oct 25, 2024
eb91867
TF 2.18: Update documentation for wheel locations and toolchain changes
rtg0795 Oct 28, 2024
bd984cb
Fix DTensor concepts link
james47 Oct 29, 2024
15e96c3
Merge pull request #2335 from james47:james47/fixdtensorlink
copybara-github Oct 29, 2024
67052a2
Correct typo "YOu" to "You" in tutorial text
choejwoo Nov 15, 2024
a44c07f
fix typo error "description"
pakuland3 Nov 18, 2024
b6696db
Merge pull request #2308 from joaomh:patch-1
copybara-github Nov 19, 2024
2397584
Merge pull request #2341 from pakuland3:typo
copybara-github Nov 20, 2024
bbc0b9c
Merge pull request #2340 from choejwoo:master
copybara-github Nov 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests

on:
schedule:
# Scheduled to run at 1.30 UTC everyday
- cron: '30 1 * * *'
workflow_dispatch:

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 14
days-before-issue-close: 14
stale-issue-label: "status:stale"
close-issue-reason: not_planned
any-of-labels: "awaiting-contributor-response,cla:no"
stale-issue-message: >
Marking this issue as stale since it has been open for 14 days with no activity.
This issue will be closed if no further activity occurs.
close-issue-message: >
This issue was closed because it has been inactive for 28 days.
Please post a new issue if you need further assistance. Thanks!
days-before-pr-stale: 14
days-before-pr-close: 14
stale-pr-label: "status:stale"
stale-pr-message: >
Marking this pull request as stale since it has been open for 14 days with no activity.
This PR will be closed if no further activity occurs.
close-pr-message: >
This pull request was closed because it has been inactive for 28 days.
Please open a new pull request if you need further assistance. Thanks!
# Label that can be assigned to issues to exclude them from being marked as stale
exempt-issue-labels: 'override-stale'
# Label that can be assigned to PRs to exclude them from being marked as stale
exempt-pr-labels: "override-stale"
2 changes: 1 addition & 1 deletion site/en/community/contribute/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Whether you are adding a loss function, improving test coverage, or writing an
RFC for a major design change, this portion of the contributor guide will help
you get started. Thank you for work and interest in improving TensorFlow.
you get started. Thank you for your work and interest in improving TensorFlow.

## Before you get started

Expand Down
10 changes: 5 additions & 5 deletions site/en/community/contribute/docs_style.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ repository like this:

This is the preferred approach because this way the links on
[tensorflow.org](https://www.tensorflow.org),
[GitHub](https://github.com/tensorflow/docs){:.external} and
[Colab](https://github.com/tensorflow/docs/tree/master/site/en/guide/bazics.ipynb){:.external}
[GitHub](https://github.com/tensorflow/docs) and
[Colab](https://github.com/tensorflow/docs/tree/master/site/en/guide/bazics.ipynb)
all work. Also, the reader stays in the same site when they click a link.

Note: You should include the file extension—such as `.ipynb` or `.md`—for
Expand All @@ -83,10 +83,10 @@ To link to source code, use a link starting with
by the file name starting at the GitHub root.

When linking off of [tensorflow.org](https://www.tensorflow.org), include a
`{:.external}` on the Markdown link so that the "external link" symbol is shown.
`` on the Markdown link so that the "external link" symbol is shown.

* `[GitHub](https://github.com/tensorflow/docs){:.external}` produces
[GitHub](https://github.com/tensorflow/docs){:.external}
* `[GitHub](https://github.com/tensorflow/docs)` produces
[GitHub](https://github.com/tensorflow/docs)

Do not include URI query parameters in the link:

Expand Down
2 changes: 1 addition & 1 deletion site/en/guide/basics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@
" batch_size=32,\n",
" verbose=0)\n",
"\n",
"new_model.save('./my_new_model')"
"new_model.save('./my_new_model.keras')"
]
},
{
Expand Down
30 changes: 15 additions & 15 deletions site/en/guide/core/logistic_regression_core.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
"id": "DauaqJ7WhIhO"
},
"source": [
"This guide demonstrates how to use the [TensorFlow Core low-level APIs](https://www.tensorflow.org/guide/core) to perform [binary classification](https://developers.google.com/machine-learning/glossary#binary_classification){:.external} with [logistic regression](https://developers.google.com/machine-learning/crash-course/logistic-regression/){:.external}. It uses the [Wisconsin Breast Cancer Dataset](https://archive.ics.uci.edu/ml/datasets/breast+cancer+wisconsin+(original)){:.external} for tumor classification.\n",
"This guide demonstrates how to use the [TensorFlow Core low-level APIs](https://www.tensorflow.org/guide/core) to perform [binary classification](https://developers.google.com/machine-learning/glossary#binary_classification) with [logistic regression](https://developers.google.com/machine-learning/crash-course/logistic-regression/). It uses the [Wisconsin Breast Cancer Dataset](https://archive.ics.uci.edu/ml/datasets/breast+cancer+wisconsin+(original)) for tumor classification.\n",
"\n",
"[Logistic regression](https://developers.google.com/machine-learning/crash-course/logistic-regression/){:.external} is one of the most popular algorithms for binary classification. Given a set of examples with features, the goal of logistic regression is to output values between 0 and 1, which can be interpreted as the probabilities of each example belonging to a particular class. "
"[Logistic regression](https://developers.google.com/machine-learning/crash-course/logistic-regression/) is one of the most popular algorithms for binary classification. Given a set of examples with features, the goal of logistic regression is to output values between 0 and 1, which can be interpreted as the probabilities of each example belonging to a particular class. "
]
},
{
Expand All @@ -81,7 +81,7 @@
"source": [
"## Setup\n",
"\n",
"This tutorial uses [pandas](https://pandas.pydata.org){:.external} for reading a CSV file into a [DataFrame](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html){:.external}, [seaborn](https://seaborn.pydata.org){:.external} for plotting a pairwise relationship in a dataset, [Scikit-learn](https://scikit-learn.org/){:.external} for computing a confusion matrix, and [matplotlib](https://matplotlib.org/){:.external} for creating visualizations."
"This tutorial uses [pandas](https://pandas.pydata.org) for reading a CSV file into a [DataFrame](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html), [seaborn](https://seaborn.pydata.org) for plotting a pairwise relationship in a dataset, [Scikit-learn](https://scikit-learn.org/) for computing a confusion matrix, and [matplotlib](https://matplotlib.org/) for creating visualizations."
]
},
{
Expand Down Expand Up @@ -128,7 +128,7 @@
"source": [
"## Load the data\n",
"\n",
"Next, load the [Wisconsin Breast Cancer Dataset](https://archive.ics.uci.edu/ml/datasets/breast+cancer+wisconsin+(original)){:.external} from the [UCI Machine Learning Repository](https://archive.ics.uci.edu/ml/){:.external}. This dataset contains various features such as a tumor's radius, texture, and concavity."
"Next, load the [Wisconsin Breast Cancer Dataset](https://archive.ics.uci.edu/ml/datasets/breast+cancer+wisconsin+(original)) from the [UCI Machine Learning Repository](https://archive.ics.uci.edu/ml/). This dataset contains various features such as a tumor's radius, texture, and concavity."
]
},
{
Expand Down Expand Up @@ -156,7 +156,7 @@
"id": "A3VR1aTP92nV"
},
"source": [
"Read the dataset into a pandas [DataFrame](){:.external} using [`pandas.read_csv`](https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html){:.external}:"
"Read the dataset into a pandas [DataFrame]() using [`pandas.read_csv`](https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html):"
]
},
{
Expand Down Expand Up @@ -207,7 +207,7 @@
"id": "s4-Wn2jzVC1W"
},
"source": [
"Split the dataset into training and test sets using [`pandas.DataFrame.sample`](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.sample.html){:.external}, [`pandas.DataFrame.drop`](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.drop.html){:.external} and [`pandas.DataFrame.iloc`](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.iloc.html){:.external}. Make sure to split the features from the target labels. The test set is used to evaluate your model's generalizability to unseen data."
"Split the dataset into training and test sets using [`pandas.DataFrame.sample`](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.sample.html), [`pandas.DataFrame.drop`](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.drop.html) and [`pandas.DataFrame.iloc`](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.iloc.html). Make sure to split the features from the target labels. The test set is used to evaluate your model's generalizability to unseen data."
]
},
{
Expand Down Expand Up @@ -277,7 +277,7 @@
"\n",
"This dataset contains the mean, standard error, and largest values for each of the 10 tumor measurements collected per example. The `\"diagnosis\"` target column is a categorical variable with `'M'` indicating a malignant tumor and `'B'` indicating a benign tumor diagnosis. This column needs to be converted into a numerical binary format for model training.\n",
"\n",
"The [`pandas.Series.map`](https://pandas.pydata.org/docs/reference/api/pandas.Series.map.html){:.external} function is useful for mapping binary values to the categories.\n",
"The [`pandas.Series.map`](https://pandas.pydata.org/docs/reference/api/pandas.Series.map.html) function is useful for mapping binary values to the categories.\n",
"\n",
"The dataset should also be converted to a tensor with the `tf.convert_to_tensor` function after the preprocessing is complete."
]
Expand All @@ -301,7 +301,7 @@
"id": "J4ubs136WLNp"
},
"source": [
"Use [`seaborn.pairplot`](https://seaborn.pydata.org/generated/seaborn.pairplot.html){:.external} to review the joint distribution of a few pairs of mean-based features from the training set and observe how they relate to the target:"
"Use [`seaborn.pairplot`](https://seaborn.pydata.org/generated/seaborn.pairplot.html) to review the joint distribution of a few pairs of mean-based features from the training set and observe how they relate to the target:"
]
},
{
Expand Down Expand Up @@ -343,7 +343,7 @@
"id": "_8pDCIFjMla8"
},
"source": [
"Given the inconsistent ranges, it is beneficial to standardize the data such that each feature has a zero mean and unit variance. This process is called [normalization](https://developers.google.com/machine-learning/glossary#normalization){:.external}."
"Given the inconsistent ranges, it is beneficial to standardize the data such that each feature has a zero mean and unit variance. This process is called [normalization](https://developers.google.com/machine-learning/glossary#normalization)."
]
},
{
Expand Down Expand Up @@ -384,19 +384,19 @@
"\n",
"### Logistic regression fundamentals\n",
"\n",
"Linear regression returns a linear combination of its inputs; this output is unbounded. The output of a [logistic regression](https://developers.google.com/machine-learning/glossary#logistic_regression){:.external} is in the `(0, 1)` range. For each example, it represents the probability that the example belongs to the _positive_ class.\n",
"Linear regression returns a linear combination of its inputs; this output is unbounded. The output of a [logistic regression](https://developers.google.com/machine-learning/glossary#logistic_regression) is in the `(0, 1)` range. For each example, it represents the probability that the example belongs to the _positive_ class.\n",
"\n",
"Logistic regression maps the continuous outputs of traditional linear regression, `(-∞, ∞)`, to probabilities, `(0, 1)`. This transformation is also symmetric so that flipping the sign of the linear output results in the inverse of the original probability.\n",
"\n",
"Let $Y$ denote the probability of being in class `1` (the tumor is malignant). The desired mapping can be achieved by interpreting the linear regression output as the [log odds](https://developers.google.com/machine-learning/glossary#log-odds){:.external} ratio of being in class `1` as opposed to class `0`:\n",
"Let $Y$ denote the probability of being in class `1` (the tumor is malignant). The desired mapping can be achieved by interpreting the linear regression output as the [log odds](https://developers.google.com/machine-learning/glossary#log-odds) ratio of being in class `1` as opposed to class `0`:\n",
"\n",
"$$\\ln(\\frac{Y}{1-Y}) = wX + b$$\n",
"\n",
"By setting $wX + b = z$, this equation can then be solved for $Y$:\n",
"\n",
"$$Y = \\frac{e^{z}}{1 + e^{z}} = \\frac{1}{1 + e^{-z}}$$\n",
"\n",
"The expression $\\frac{1}{1 + e^{-z}}$ is known as the [sigmoid function](https://developers.google.com/machine-learning/glossary#sigmoid_function){:.external} $\\sigma(z)$. Hence, the equation for logistic regression can be written as $Y = \\sigma(wX + b)$.\n",
"The expression $\\frac{1}{1 + e^{-z}}$ is known as the [sigmoid function](https://developers.google.com/machine-learning/glossary#sigmoid_function) $\\sigma(z)$. Hence, the equation for logistic regression can be written as $Y = \\sigma(wX + b)$.\n",
"\n",
"The dataset in this tutorial deals with a high-dimensional feature matrix. Therefore, the above equation must be rewritten in a matrix vector form as follows:\n",
"\n",
Expand Down Expand Up @@ -437,7 +437,7 @@
"source": [
"### The log loss function\n",
"\n",
"The [log loss](https://developers.google.com/machine-learning/glossary#Log_Loss){:.external}, or binary cross-entropy loss, is the ideal loss function for a binary classification problem with logistic regression. For each example, the log loss quantifies the similarity between a predicted probability and the example's true value. It is determined by the following equation:\n",
"The [log loss](https://developers.google.com/machine-learning/glossary#Log_Loss), or binary cross-entropy loss, is the ideal loss function for a binary classification problem with logistic regression. For each example, the log loss quantifies the similarity between a predicted probability and the example's true value. It is determined by the following equation:\n",
"\n",
"$$L = -\\frac{1}{m}\\sum_{i=1}^{m}y_i\\cdot\\log(\\hat{y}_i) + (1- y_i)\\cdot\\log(1 - \\hat{y}_i)$$\n",
"\n",
Expand Down Expand Up @@ -471,7 +471,7 @@
"source": [
"### The gradient descent update rule\n",
"\n",
"The TensorFlow Core APIs support automatic differentiation with `tf.GradientTape`. If you are curious about the mathematics behind the logistic regression [gradient updates](https://developers.google.com/machine-learning/glossary#gradient_descent){:.external}, here is a short explanation:\n",
"The TensorFlow Core APIs support automatic differentiation with `tf.GradientTape`. If you are curious about the mathematics behind the logistic regression [gradient updates](https://developers.google.com/machine-learning/glossary#gradient_descent), here is a short explanation:\n",
"\n",
"In the above equation for the log loss, recall that each $\\hat{y}_i$ can be rewritten in terms of the inputs as $\\sigma({\\mathrm{X_i}}w + b)$.\n",
"\n",
Expand Down Expand Up @@ -754,7 +754,7 @@
"\n",
"For this problem, the FPR is the proportion of malignant tumor predictions amongst tumors that are actually benign. Conversely, the FNR is the proportion of benign tumor predictions among tumors that are actually malignant.\n",
"\n",
"Compute a confusion matrix using [`sklearn.metrics.confusion_matrix`](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.confusion_matrix.html#sklearn.metrics.confusion_matrix){:.external}, which evaluates the accuracy of the classification, and use matplotlib to display the matrix:"
"Compute a confusion matrix using [`sklearn.metrics.confusion_matrix`](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.confusion_matrix.html#sklearn.metrics.confusion_matrix), which evaluates the accuracy of the classification, and use matplotlib to display the matrix:"
]
},
{
Expand Down
Loading
Loading