canyon289
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# PyMC3 to PyMC Rename Guide PyMC3 will be renamed to PyMC *October 1st*. What you'll need to do differs depending on how you use or interact with PyMC3. Use this guide to understand what that will be. ### Temporary metanote for PyMC Devs (as of late September) By writing this migration guide first we'll have to enumerate all the things people will have to do, and by enumerating all the things that need to be done, we'll know what we will need to do. And the good news is if we write this doc, once we know what to do it will already be documented. Neat huh For now focus *only on the name change*. We can create another doc for the Aesara changes once we solidify those ## For new users Nothing! Know that "PyMC3" is the old name of this probabilistic programming language (PPL) and that "PyMC" will be used henceforth. If you want to work with a "3.x.x" version, you'll have to install the "pymc3" package from PyPI or conda forge. ## For existing end users The most important thing to understand is that PyMC will refer to a version of the PPL that uses Aesara as its backend. You still will be able to install and use PyMC3, it just wont be updated and support will drop over time. If you're a current PyMC3 end user to upgrade you will need to * uninstall pymc3 from your environment and install pymc using one of the methods below * pip install pymc * conda install pymc * git clone etc etc * Change your imports from `import pymc3 as pm` to `import pymc as pm` ## If you want to use V4 ***⚠️ TO DO*** ## If you're a PyMC3 developer The PyMC3 repo has been named to PyMC. If you need the PyMC3 codebase ### Proposal 1 Copy the codebase at v3 commit to another repo called PyMC3 legacy ### Proposal 2 ***⚠️ TO DO?*** ## For package maintainers of libraries that use PyMC3 You will need to * Change your imports from `import pymc3 as pm` to `import pymc as pm` * Change your documentation to refer to PyMC * Preferably change your git origin and github links from https://github.com/pymc-devs/pymc3 to https://github.com/pymc-devs/pymc (Note that the old one will forward automatically, but that might be confusing.) * Update the Zenodo record with the new name * Reconfigure Read The Docs to the new url and set up forwarding from the old one. ## For PyMC Devs You will need to * Change your imports from `import pymc3 as pm` to `import pymc as pm` * Find and replace PyMC3 mentions in the codebase and documentation (pymc-example). * Update the logos in repository * Change the pypi package name to pymc (MO: is that even possible??) * Find out how to deal with the existing https://github.com/pymc-devs/pymc Repository. This probably results in problems with the HTTP 301 forwarding * Diplomatically approach and tell PyMC v2 users that we're taking over their existing PyPI channel and they should upgrade or pin version numbers. And that their repOS are in the way. * Replace or update https://github.com/conda-forge/pymc-feedstock * Update all documentation to reflect PyMC, including example guides * Rename the Wikipedia page and add an explanation there https://en.wikipedia.org/wiki/PyMC3 ## For NumFOCUS You will need to * Review any legal or financial documents that may refer to this team by the PyMC3 name and update those to PyMC * Update PyMC logo on website * Update logo merchandise stores * Give away remaining stickers # Rename schema ### What to do with old PyMC repo #### Rename current PyMC repo (2.x) to PyMC2/PyMC_old This way we make room for the other repo. Alternatively, we could port PyMC v2 to a branch on our existing repo, but I (TW) don't think that would be all that helpful. Note that this change is unrelated to what we name the package on PyPI and ### Rename the current repo AND make a copy of it at the PyMC3 V3 commit and name that repo to pymc3_v3 In addition to renaming we need to * Add a warning to README.md that users should only use this repo if they specifically want PyMC3 * Migrate all pull requests and relevant issues to the legacy repo Pros: * One clean cut * Maintain GitHub stars etc * History is maintained * Allows for autoforwarding * It provides another place to message the name change * If downstream devs want to specify github builds itll be more obvious in the repo string Cons: * Two repos with similar codebase, at least initially ### What to do with v3 on PyPI and conda-forge? #### Keep it as pymc3 on PyPI and conda-forge Pros: * v3 users have an easier time staying on v3 because they do not need to change anything and do not need to pin versions so as not to get v4 * Users have to be explicit about upgrading to v4 * This makes it easy for our conda-forge feedstock because we have changed the dependencies (`theano-pymc` to `aesara`) Cons: * Users might not know about the rename and will just stick to PyMC3, thus requires strong messaging. ## The current plan on what to do about repo and PyPI and conda-forge In summary, v3 will stay pymc3 on pypi and conda-forge, from v4 onwards it will be pymc on both. 1. Move current PyMC v2 repo to PyMC2 just to make room. 2. Rename the PyMC3 repo to PyMC and get forwarding. 3. On PyMC PyPI we make a release only for 4.x. We keep PyMC3 on PyPI, that is a reasonable way to remain backwards compatibility and not break people's production systems. 4. Once we are ready with v4, we release pymc 4.0.0, as well as pymc3 3.11.5 with an import warning alerting people to the name change and new version, as well as deprecation warnings for things like `pm.Normal.logp`.

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully