Skip to content

Conversation

@Priyanshjain10
Copy link
Contributor

@Priyanshjain10 Priyanshjain10 commented Oct 30, 2025

Created comprehensive documentation entry for PyTorch's .polygamma() tensor operation function including:

  • Complete front matter with metadata (subjects, tags, catalog content)
  • Clear definition explaining the polygamma function
  • Detailed syntax section with parameter descriptions
  • Three practical code examples:
    • Digamma function (n=0)
    • Trigamma function (n=1)
    • Higher order polygamma (n=2)
  • Usage notes for statistical applications
  • Links to related tensor operation functions

This documentation follows Codecademy's term entry template and markdown style guide.

Fixes #7849
Submitted for Hacktoberfest 2025.

Description

Issue Solved

Type of Change

  • Adding a new entry
  • Editing an existing entry (fixing a typo, bug, issues, etc)
  • Updating the documentation

Checklist

  • All writings are my own.
  • My entry follows the Codecademy Docs style guide.
  • My changes generate no new warnings.
  • I have performed a self-review of my own writing and code.
  • I have checked my entry and corrected any misspellings.
  • I have made corresponding changes to the documentation if needed.
  • I have confirmed my changes are not being pushed from my forked main branch.
  • I have confirmed that I'm pushing from a new branch named after the changes I'm making.
  • I have linked any issues that are relevant to this PR in the Issues Solved section.

Created comprehensive documentation entry for PyTorch's .polygamma() tensor operation function including:

- Complete front matter with metadata (subjects, tags, catalog content)
- Clear definition explaining the polygamma function
- Detailed syntax section with parameter descriptions
- Three practical code examples:
  * Digamma function (n=0)
  * Trigamma function (n=1)
  * Higher order polygamma (n=2)
- Usage notes for statistical applications
- Links to related tensor operation functions

This documentation follows Codecademy's term entry template and markdown style guide.

Fixes Codecademy#7849
Submitted for Hacktoberfest 2025.
@CLAassistant
Copy link

CLAassistant commented Oct 30, 2025

CLA assistant check
All committers have signed the CLA.

@mamtawardhani mamtawardhani self-assigned this Oct 30, 2025
Copy link
Collaborator

@mamtawardhani mamtawardhani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for a second review! 🚀

@Priyanshjain10
Copy link
Contributor Author

Thank you @mamtawardhani for the thorough review and approval! 🙏 Really appreciate your time and feedback. Working on statistical functions like polygamma has been fascinating, and I'm excited to document more PyTorch operations. Happy to be part of the Codecademy community and contribute to making these advanced mathematical concepts easier to understand for learners worldwide! Looking forward to more collaborations! 🚀

@dakshdeepHERE dakshdeepHERE added hacktoberfest hacktoberfest-accepted Indicates the PR was approved, merged, and pertains to Hacktoberfest status: under review Issue or PR is currently being reviewed and removed status: ready for next review labels Oct 31, 2025
Copy link
Collaborator

@dakshdeepHERE dakshdeepHERE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@dakshdeepHERE dakshdeepHERE added status: review 2️⃣ completed and removed status: under review Issue or PR is currently being reviewed labels Oct 31, 2025
@dakshdeepHERE dakshdeepHERE merged commit 2accad5 into Codecademy:main Oct 31, 2025
7 checks passed
@github-actions
Copy link

👋 @Priyanshjain10
You have contributed to Codecademy Docs, and we would like to know more about you and your experience.
Please take a minute to fill out this four question survey to help us better understand Docs contributions and how we can improve the experience for you and our learners.
Thank you for your help!

🎉 Your contribution(s) can be seen here:

https://www.codecademy.com/resources/docs/pytorch/tensor-operations/polygamma

Please note it may take a little while for changes to become visible.
If you're appearing as anonymous and want to be credited, visit the linked accounts page and ensure that your GitHub account is linked.

@dakshdeepHERE dakshdeepHERE self-assigned this Oct 31, 2025
@Priyanshjain10
Copy link
Contributor Author

🎉 Thank you so much @mamtawardhani and @dakshdeepHERE for merging this PR! I'm excited that the PyTorch .polygamma() documentation is now live!

I really appreciate your thorough reviews and for taking the time to merge all my contributions. Your guidance has been incredibly helpful and I'm learning so much from this process.

Looking forward to continuing to contribute to Codecademy Docs! 🚀🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest hacktoberfest-accepted Indicates the PR was approved, merged, and pertains to Hacktoberfest new entry New entry or entries python Python entries pytorch PyTorch status: review 1️⃣ completed status: review 2️⃣ completed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Term Entry] PyTorch Tensor Operations: .polygamma()

4 participants