中文亚洲精品无码_熟女乱子伦免费_人人超碰人人爱国产_亚洲熟妇女综合网

當(dāng)前位置: 首頁 > news >正文

個(gè)人作品展示網(wǎng)站模板營銷型網(wǎng)站策劃書

個(gè)人作品展示網(wǎng)站模板,營銷型網(wǎng)站策劃書,wordpress欄目列表頁,代理分傭后臺網(wǎng)站開發(fā)機(jī)器學(xué)習(xí)常用Python庫安裝 作者日期版本說明Dog Tao2022.06.16V1.0開始建立文檔 文章目錄 機(jī)器學(xué)習(xí)常用Python庫安裝Anaconda簡介使用鏡像源配置 Pip簡介鏡像源配置 CUDAPytorch安裝舊版本 TensorFlowGPU支持說明 DGL簡介安裝DGLLife RDKitscikit-multilearn Anaconda 簡介 …

機(jī)器學(xué)習(xí)常用Python庫安裝

作者日期版本說明
Dog Tao2022.06.16V1.0開始建立文檔

文章目錄

  • 機(jī)器學(xué)習(xí)常用Python庫安裝
    • Anaconda
      • 簡介
      • 使用
      • 鏡像源配置
    • Pip
      • 簡介
      • 鏡像源配置
    • CUDA
    • Pytorch
      • 安裝舊版本
    • TensorFlow
      • GPU支持說明
    • DGL
      • 簡介
      • 安裝
      • DGLLife
    • RDKit
    • scikit-multilearn

Anaconda

簡介

Anaconda and Miniconda are distributions of Python and other packages for data science, while Conda is the package manager that installs, updates, and removes them. Anaconda includes hundreds of packages, while Miniconda includes only Conda and its dependencies. Conda can also access different channels, such as the main channel maintained by Anaconda and the conda-forge channel maintained by the package developers. Users can choose between Anaconda Navigator, a graphical user interface, or Conda, a command-line tool, to manage their environments and packages.

Conda官方網(wǎng)站:https://docs.conda.io/en/latest/

Conda is an open source package management system and environment management system that runs on Windows, macOS, and Linux. Conda quickly installs, runs and updates packages and their dependencies. Conda easily creates, saves, loads and switches between environments on your local computer. It was created for Python programs, but it can package and distribute software for any language.

Conda as a package manager helps you find and install packages. If you need a package that requires a different version of Python, you do not need to switch to a different environment manager, because conda is also an environment manager. With just a few commands, you can set up a totally separate environment to run that different version of Python, while continuing to run your usual version of Python in your normal environment.

In its default configuration, conda can install and manage the thousand packages at repo.anaconda.com that are built, reviewed and maintained by Anaconda?.

Conda can be combined with continuous integration systems such as Travis CI and AppVeyor to provide frequent, automated testing of your code.

The conda package and environment manager is included in all versions of Anaconda and Miniconda.

Conda is also included in Anaconda Enterprise, which provides on-site enterprise package and environment management for Python, R, Node.js, Java and other application stacks. Conda is also available on conda-forge, a community channel. You may also get conda on PyPI, but that approach may not be as up to date.

Anaconda官方網(wǎng)站:https://www.anaconda.com/

Anaconda was founded in 2012 by Peter Wang and Travis Oliphant out of the need to bring Python into business data analytics, which was rapidly transforming as a result of emerging technology trends. Additionally, the open-source community lacked an entity that could organize and collectivize it to maximize its impact. Since that time, the Python ecosystem has significantly expanded, with Python being the most popular programming language used today. Alongside this expansion, Anaconda has provided value to students learning Python and data science, individual practitioners, small teams, and enterprise businesses. We aim to meet every user where they are in their data science journey. Anaconda now has over 300 full-time employees based in the United States, Canada, Germany, United Kingdom, Australia, India, and Japan. We are proud to serve over 35 million users worldwide.

在這里插入圖片描述

使用

參考文檔:Anaconda conda常用命令:從入門到精通

在anaconda官網(wǎng)搜索包:https://anaconda.org/

鏡像源配置

參考文檔:conda操作之更新源和刪除源

  • 查看鏡像源
conda config --show channels
  • 永久添加鏡像源

使用conda config --add channels URL命令,以添加清華源為例:

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
  • 移除鏡像源

使用conda config --remove channels URL命令,以移除清華源為例:

conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
  • 設(shè)置搜索時(shí)顯示通道地址
conda config --set show_channel_urls yes
  • 臨時(shí)指定使用某個(gè)鏡像源下載

使用conda的參數(shù)-c指定鏡像源的地址,例如想在清華鏡像源下載opencv包:

conda install opencv -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/

國內(nèi)鏡像源舉例:

  1. 清華源
conda config --add channels  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda config --add channels  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --add channels  https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
  1. 中科大源
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
  1. 北京外國語大學(xué)源
conda config --add channels  https://mirrors.bfsu.edu.cn/anaconda/pkgs/main
conda config --add channels  https://mirrors.bfsu.edu.cn/anaconda/pkgs/free
conda config --add channels  https://mirrors.bfsu.edu.cn/anaconda/cloud/conda-forge/
  1. 上海交大源
conda config --add channels  https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/
conda config --add channels  https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/free/
conda config --add channels  https://mirrors.sjtug.sjtu.edu.cn/anaconda/cloud/conda-forge/
  1. 豆瓣源
conda config --add channels https://pypi.doubanio.com/simple/

Pip

簡介

官網(wǎng):https://pypi.org/project/pip/

pip is the package installer for Python. You can use pip to install packages from the Python Package Index and other indexes.

在這里插入圖片描述

鏡像源配置

參考文檔:pip國內(nèi)鏡像源配置

pip官方軟件源 https://pypi.python.org/simple

國內(nèi)鏡像源舉例:

  1. 阿里云 https://mirrors.aliyun.com/pypi/simple/

  2. 中國科技大學(xué) https://pypi.mirrors.ustc.edu.cn/simple/

  3. 豆瓣 https://pypi.douban.com/simple

  4. 中國科學(xué)院 https://pypi.mirrors.opencas.cn/simple/

  5. 清華大學(xué) https://pypi.tuna.tsinghua.edu.cn/simple/

  • 臨時(shí)指定使用某個(gè)鏡像源下載

使用pip的參數(shù)-i指定鏡像源的地址,例如想在阿里云鏡像源下載Pillow包

pip install -i https://mirrors.aliyun.com/pypi/simple Pillow

CUDA

  • 顯卡型號支持檢查:https://developer.nvidia.com/cuda-gpus

  • Archived ReleasesCUDA Toolkit下載:https://developer.nvidia.com/cuda-toolkit-archive

  • 技術(shù)教程:https://blog.csdn.net/Mind_programmonkey/article/details/99688839

Pytorch

官方安裝說明:https://pytorch.org/get-started/locally/

在這里插入圖片描述

安裝舊版本

Installing previous versions of PyTorch: https://pytorch.org/get-started/previous-versions/

以適配CUDA 11.3的版本為例:

conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 -c pytorch

在這里插入圖片描述

TensorFlow

官方安裝說明:https://tensorflow.google.cn/install?hl=zh-cn

GPU支持說明

官方安裝說明:https://tensorflow.google.cn/install/gpu?hl=zh-cn

DGL

簡介

官網(wǎng):https://www.dgl.ai/

In the last few years, deep learning has enjoyed plenty of extraordinary successes. Many challenging tasks have been solved or close to being solved by Deep Learning, such as image recognition, rich-resource machine translation, game playing. These were made possible by a set of techniques that are composed of a number of representationally powerful building-blocks, such as convolution, attention and recurrence, applied to images, video, text, speech and beyond.The development and deployment of these techniques often depend on the simple correlation of the given data; for example, CNN is based on the spatial correlation between nearby pixels while RNN family dwells on the assumption that its input is sequence-like.More recently, there has been a steady flow of new deep learning research focusing on graph-structured data. Some of them are more conventional graph related problems, like social networks, chemical molecules and recommender systems, where how the entity interacts with its neighborhood is as informative as, if not more than, the features of the entity itself.Some others nevertheless have applied graph neural networks to images, text or games. Very broadly speaking, any of the data structures we have covered so far can be formalized to graphs. For instance an image can be seen as grid of pixel, text a sequence of words… Together with matured recognition modules, graph can also be defined at higher abstraction level for these data: scene graphs of images or dependency trees of language.To this end, we made DGL. We are keen to bringing graphs closer to deep learning researchers. We want to make it easy to implement graph neural networks model family. We also want to make the combination of graph based modules and tensor based modules (PyTorch or MXNet) as smooth as possible.

在這里插入圖片描述

安裝

官方安裝說明:https://www.dgl.ai/pages/start.html

以適配CUDA 11.3的版本為例:

# If you have installed dgl-cudaXX.X package, please uninstall it first.
conda install -c dglteam/label/cu113 dgl

在這里插入圖片描述

DGLLife

DGL-LifeSci官網(wǎng):https://lifesci.dgl.ai/index.html

DGL-LifeSci is a python package for applying graph neural networks to various tasks in chemistry and biology, on top of PyTorch, DGL, and RDKit. It covers various applications, including:

  • Molecular property prediction
  • Generative models
  • Reaction prediction
  • Protein-ligand binding affinity prediction

DGL-LifeSci is free software; you can redistribute it and/or modify it under the terms of the Apache License 2.0. We welcome contributions. Join us on GitHub.

  • 在anaconda官網(wǎng)搜索包:https://anaconda.org/
conda install -c conda-forge dgllife

在這里插入圖片描述

RDKit

官網(wǎng):https://rdkit.org/

RDKit documentation:https://rdkit.org/docs/index.html

conda install -c conda-forge rdkit
pip install rdkit

scikit-multilearn

官網(wǎng):http://scikit.ml/

文檔:http://scikit.ml/api/skmultilearn.html

源碼:https://github.com/scikit-multilearn/scikit-multilearn

pip install scikit-multilearn
http://www.risenshineclean.com/news/32764.html

相關(guān)文章:

  • 做網(wǎng)站服務(wù)器在哪買微商引流人脈推廣軟件
  • 做一個(gè)網(wǎng)站維護(hù)多少錢快速排名新
  • 山西省住房建設(shè)廳網(wǎng)站房屋建筑定額北京seo關(guān)鍵詞優(yōu)化外包
  • 公司網(wǎng)站怎么做備案東莞疫情最新情況
  • 建站知識互聯(lián)網(wǎng)整合營銷推廣
  • 各大網(wǎng)站圖片電商營銷策劃方案范文
  • 什么是網(wǎng)站評價(jià)上海seo推廣服務(wù)
  • 深圳58同城網(wǎng)站建設(shè)百度廣告代理商加盟
  • 最新經(jīng)濟(jì)新聞?lì)^條新聞廈門seo怎么做
  • 汕頭市道路建設(shè)網(wǎng)站免費(fèi)seo優(yōu)化工具
  • 網(wǎng)站加速打開百度一下搜索一下
  • 博爾塔拉州大型網(wǎng)站建設(shè)百度知道在線問答
  • 做網(wǎng)站常用哪種語言全網(wǎng)關(guān)鍵詞優(yōu)化公司哪家好
  • 語言互動網(wǎng)站建設(shè)輿情系統(tǒng)
  • wordpress如何加友鏈網(wǎng)站排名seo培訓(xùn)
  • 掃描做電子版網(wǎng)站百度地圖收錄提交入口
  • 濟(jì)南行業(yè)網(wǎng)站開發(fā)東莞網(wǎng)站建設(shè)公司排名
  • 做鏈接哪個(gè)網(wǎng)站好專業(yè)營銷推廣團(tuán)隊(duì)
  • 阿里云做網(wǎng)站經(jīng)費(fèi)免費(fèi)網(wǎng)站建設(shè)
  • 遂寧市網(wǎng)站建設(shè)最近發(fā)生的新聞
  • 信譽(yù)好的o2o網(wǎng)站建設(shè)關(guān)鍵詞網(wǎng)絡(luò)推廣企業(yè)
  • 家庭室內(nèi)裝修設(shè)計(jì)公司杭州seo網(wǎng)
  • 建站之星設(shè)計(jì)師站優(yōu)云seo優(yōu)化
  • 汽車保險(xiǎn)網(wǎng)站crm系統(tǒng)
  • 免費(fèi)的自助設(shè)計(jì)網(wǎng)站百度風(fēng)云榜官網(wǎng)
  • 電子商務(wù)網(wǎng)站開發(fā)相關(guān)技術(shù)全網(wǎng)線報(bào) 實(shí)時(shí)更新
  • 嘉興做網(wǎng)站費(fèi)用重慶百度推廣電話
  • 免費(fèi)視頻網(wǎng)站制作自己如何制作一個(gè)網(wǎng)頁
  • 濟(jì)南網(wǎng)站建設(shè)山東酷風(fēng)seo關(guān)鍵詞怎么優(yōu)化
  • 怎么做瀏覽器網(wǎng)站嗎推廣計(jì)劃