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
개발자를 위한 필수 수학
by
토머스 닐드
,
박해선
June 2024
Beginner to intermediate
352 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from
개발자를 위한 필수 수학
138
개발자를 위한 필수 수학
그림
4-6
벡터의 덧셈은 교환 법칙이 성립합니다.
4.1.2
스케일링
스케일링
scaling
은 벡터의 길이를 늘이거나 줄이는 것입니다. 벡터에
스칼라
scalar
라고 하는 하나의
값을 곱하거나 스케일링해서 벡터를 늘이거나 줄입니다. [그림
4
-
7
]은 벡터
v
에
2
를 곱해 길
이를 두 배로 늘렸습니다.
그림
4-7
벡터 스케일링
수학적으로는 벡터의 각 원소에 다음과 같이 스칼라 값을 곱하면 됩니다.
3
1
3
32
6
22
1
12
2
v
v
=
×
=
=
=
×
139
4
장
선형대수학
[예제
4
-
6
]에서처럼 파이썬에서도 단순히 벡터에 스칼라를 곱합니다.
예제
4-6
파이썬에서 넘파이로 숫자 크기 조정하기
from
numpy
import
array
v
=
array
([
3
,
1
])
# 벡터 스케일링
scaled_v
=
2.0
*
v
# 스케일링된 벡터 출력
print
(
scaled_v
)
# [6. 2.]
[그림
4
-
8
]에서는
v
에
0
.
5
를 곱해 길이가 절반으로 줄어들었습니다.
그림
4-8
벡터를 절반으로 축소하기
데이터 조작은 벡터 조작입니다
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
AI를 위한 필수 수학
할라 넬슨
개발자를 위한 머신러닝&딥러닝
로런스 모로니
개발자를 위한 실전 선형대수학
마이크 X 코헨
개발자를 위한 커리어 관리 핸드북
마이클 롭
Publisher Resources
ISBN: 9791169212502