Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
エレガントなSciPy ―Pythonによる科学技術計算
by
Juan Nunez-Iglesias
,
Stéfan van der Walt
,
Harriet Dashnow
,
山崎 邦子
,
山崎 康宏
November 2018
Intermediate to advanced
272 pages
6h 51m
Japanese
O'Reilly Japan, Inc.
Content preview from
エレガントなSciPy ―Pythonによる科学技術計算
236
エピローグ
product/0636920033431.do
、
O'Reilly
、
2015
、邦題『
Cython : C
との融合による
Python
の高速
化』オライリー・ジャパン)で、この言語の基本を教えてくれます。
Cython
よりも簡単に使える代替言語は、
Numba
という配列ベースの
Python
用の実行時(
just-
in-time
、
JIT
)コンパイラです。
JIT
は、ある関数が一度実行されるのを待ち、その時点ですべての
関数の引数と出力の型を類推し、その特定の型にとって非常に効率的な形にコードをコンパイル
します。
Numba
のコードでは、型を宣言する必要がありません。関数が初めて呼び出されたとき
に、
Numba
が自分で類推するからです。その代わり、より複雑な
Python
のオブジェクトは使わ
ず、基本の型(整数や浮動小数点数など)や配列だけを使うように注意する必要があるだけです。
そうすれば、
Numba
は
Python
のコードを非常に効率的なコードにコンパイルして、計算速度を
何桁も高速にします。
Numba
はまだとても若い言語ですが、すでにとても便利な言語なのです。重要なことに、
Numba
は、これからもっと一般的になることが決まっている
Python
の
JIT
で可能なことを示し
てくれています。「もっと一般的になることが決まっている」と述べたのは、
Python 3.6
では、新
しい
JIT
(
Pyjion
の
JIT
はこれらに基づいています)を使いやすくする機能が追加されたからで
す。
Numba
を
SciPy
に組み合わせる方法など ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
リーンエンタープライズ ―イノベーションを実現する創発的な組織づくり
Jez Humble, Joanne Molesky, Barry O'Reilly, 角 征典, 笹井 崇司, Eric Ries
データサイエンスのための統計学入門 第2版 ―予測、分類、統計モデリング、統計的機械学習とR/Pythonプログラミング
Peter Bruce, Andrew Bruce, Peter Gedeck, 黒川 利明, 大橋 真也
戦略的データサイエンス入門 ―ビジネスに活かすコンセプトとテクニック
Foster Provost, Tom Fawcett, 竹田 正和, 古畠 敦, 瀬戸山 雅人, 大木 嘉人, 藤野 賢祐, 宗定 洋平, 西谷 雅史, 砂子 一徳, 市川 正和, 佐藤 正士
アイソモーフィックJavaScript
Jason Strimpel, Maxime Najim, 牧野 聡
Publisher Resources
ISBN: 9784873118604
Other