# \#machine-learning

**URL:** https://community.sonarsource.com/tag/machine-learning/427.md

[Latest](https://community.sonarsource.com/latest.md) · [Categories](https://community.sonarsource.com/categories.md) · [Tags](https://community.sonarsource.com/tags.md)

---

## [Take our survey: Data Science and ML Practitioners - We want to hear from you!](https://community.sonarsource.com/t/take-our-survey-data-science-and-ml-practitioners-we-want-to-hear-from-you/152567)

<div class="topic-metadata">

**Author:** [@caroline.connaire](https://community.sonarsource.com/u/caroline.connaire)\
**Replies:** 0\
**Last updated:** [November 14, 2025, 2:57pm UTC](https://community.sonarsource.com/t/take-our-survey-data-science-and-ml-practitioners-we-want-to-hear-from-you/152567 "2025-11-14T14:57:09Z")

</div>

Data Science and ML Practitioners, Please help us better support you at Sonar by taking this short survey. :link: Take the survey here: Code Quality in ML & Data Workflows Survey Why? We’d like your input on you man…

---

## [More PyTorch rules for High Quality ML Code](https://community.sonarsource.com/t/more-pytorch-rules-for-high-quality-ml-code/150082)

<div class="topic-metadata">

**Author:** [@jean.jimbo](https://community.sonarsource.com/u/jean.jimbo)\
**Replies:** 0\
**Last updated:** [October 10, 2025, 9:24am UTC](https://community.sonarsource.com/t/more-pytorch-rules-for-high-quality-ml-code/150082 "2025-10-10T09:24:33Z")

</div>

Hello Pythonistas, For those working with PyTorch, we have further extended our ruleset. We already support 9 rules and today we add 7 more and have extended two others to support PyTorch cases. This means that you can …

---

## [Write High Quality Machine Learning code with PyTorch](https://community.sonarsource.com/t/write-high-quality-machine-learning-code-with-pytorch/126833)

<div class="topic-metadata">

**Author:** [@jean.jimbo](https://community.sonarsource.com/u/jean.jimbo)\
**Replies:** 1\
**Last updated:** [September 17, 2025, 9:16am UTC](https://community.sonarsource.com/t/write-high-quality-machine-learning-code-with-pytorch/126833 "2025-09-17T09:16:20Z")

</div>

Hello Pythonistas, Sonar can now help you write clean Python code with PyTorch, one of the most widely adopted deep-learning frameworks. These rules help you to avoid pitfalls where you spend a lot of your time such as …

---

## [\[Webinar\] Towards a High-Quality Production AI/ML Python Code](https://community.sonarsource.com/t/webinar-towards-a-high-quality-production-ai-ml-python-code/130367)

<div class="topic-metadata">

**Author:** [@camille.vaissiere](https://community.sonarsource.com/u/camille.vaissiere)\
**Replies:** 1\
**Last updated:** [November 21, 2024, 1:32pm UTC](https://community.sonarsource.com/t/webinar-towards-a-high-quality-production-ai-ml-python-code/130367 "2024-11-21T13:32:37Z")

</div>

Hi all! Here are the details of our November Monthly webinar! On November 20th, Jean Jimbo, Product Manager for the Python ecosystem, will walk you through how the Sonar solution can help you move toward a higher-quali…

---

## [Sonar can analyze Python code in Jupyter Notebooks](https://community.sonarsource.com/t/sonar-can-analyze-python-code-in-jupyter-notebooks/123994)

<div class="topic-metadata">

**Author:** [@jean.jimbo](https://community.sonarsource.com/u/jean.jimbo)\
**Replies:** 0\
**Last updated:** [August 28, 2024, 2:58pm UTC](https://community.sonarsource.com/t/sonar-can-analyze-python-code-in-jupyter-notebooks/123994 "2024-08-28T14:58:20Z")

</div>

Hello Data & Machine Learning practitioners, We’re happy to announce that Sonar now helps you find issues in your Python code within Jupyter Notebooks. Many of you have said that Notebooks are your primary tool for thei…

---

## [Write Clean Machine Learning Code with scikit-learn](https://community.sonarsource.com/t/write-clean-machine-learning-code-with-scikit-learn/116205)

<div class="topic-metadata">

**Author:** [@jean.jimbo](https://community.sonarsource.com/u/jean.jimbo)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 6:47am UTC](https://community.sonarsource.com/t/write-clean-machine-learning-code-with-scikit-learn/116205 "2024-05-29T06:47:16Z")

</div>

Hello Pythonistas, Sonar now helps you avoid common pitfalls when building machine learning algorithms with the scikit-learn library. You can find the following new rules in SonarCloud and the next versions of SonarQub…

---

## [Write Clean Machine Learning Code with Tensorflow](https://community.sonarsource.com/t/write-clean-machine-learning-code-with-tensorflow/112470)

<div class="topic-metadata">

**Author:** [@jean.jimbo](https://community.sonarsource.com/u/jean.jimbo)\
**Replies:** 0\
**Last updated:** [April 2, 2024, 7:43am UTC](https://community.sonarsource.com/t/write-clean-machine-learning-code-with-tensorflow/112470 "2024-04-02T07:43:54Z")

</div>

Hello Pythonistas, You can now avoid common pitfalls when working with TensorFlow in building your machine-learning systems with these new rules: S6908: “tensorflow.function” should not be recursive S6911: “tf.functio…
