vectorize
gb/vˈɛktɚˌaɪz/ us/vˈɛktɚˌaɪz/
C2
英语
义项
0 个义项
动词
technical
C2
action
1
Convert data to vectors
To turn information into lists of numbers so a computer model can use it.
用法模式:
vectorize [data/text/documents/features]
常见错误:
Do not use vectorize for any kind of digitizing; the result must be a vector or vector-like numerical representation.
近义词
encode (broader; means convert into a coded form, not necessarily a vector)
|
embed (often means convert into a dense vector representation in machine learning)
|
featurize (means convert raw data into model features, usually but not always as vectors)
反义词
devectorize (rare; means convert from a vector representation back to a non-vector form)
|
decode (broader; means convert an encoded representation back into a more usable or understandable form)
搭配
vectorize text
|vectorize documents
|vectorize a corpus
|vectorize features
|vectorize input data
|vectorize search queries
|vectorize customer reviews
|automatically vectorize data
|vectorized representation
|text vectorizer
主题
computing
|data_science
|machine_learning
|artificial_intelligence
例句
- Before training the classifier, the team vectorized thousands of product reviews.
- The app vectorizes each search query so it can compare meanings, not just keywords.
- The system vectorizes user profiles and then looks for similar patterns.
学习者例句
- We vectorized the sentences before using the model.
- The data must be vectorized first.
动词
technical
C2
action
2
Make code use vector operations
To make code run operations on many values at the same time instead of one by one.
用法模式:
vectorize [code/a loop/a function/a calculation]
常见错误:
Vectorize does not simply mean to use a variable called a vector; it usually means changing how the computation is performed.
近义词
parallelize (broader; may use multiple cores or tasks, not specifically vector operations)
|
optimize (broader; can mean improve performance in many different ways)
|
rewrite (less specific; means change the code, not necessarily for vector operations)
反义词
scalarize (means convert vector operations into scalar, one-value-at-a-time operations)
|
de-vectorize (means remove vectorized processing or rewrite it as non-vector code)
搭配
vectorize code
|vectorize a loop
|vectorize a function
|vectorize calculations
|vectorize operations
|vectorize a kernel
|automatically vectorize
|fully vectorize
|vectorized implementation
|compiler vectorizes
主题
programming
|computing
|performance
|software_development
例句
- Replacing the loop with a NumPy expression vectorized the calculation and cut the run time in half.
- Modern compilers can vectorize some loops automatically when the iterations are independent.
- She vectorized the image-processing code to use the CPU's SIMD instructions.
学习者例句
- We vectorized the loop, so the program ran faster.
- This function is faster when it is vectorized.
动词
technical
C2
action
3
Convert image to vector graphics
To turn a normal pixel image into a vector image that can be resized without becoming blurry.
用法模式:
vectorize [an image/a logo/a drawing/artwork]
常见错误:
Do not confuse vectorize with rasterize; rasterize means convert vector graphics into pixels, usually the opposite direction.
近义词
trace (in graphics, often means create vector outlines from an image, either manually or automatically)
|
convert to vector (more explicit and common in nontechnical design instructions)
|
outline (can mean convert text or shapes into editable outlines, but is narrower)
反义词
rasterize (means convert vector graphics into a pixel-based image)
搭配
vectorize an image
|vectorize a logo
|vectorize artwork
|vectorize a sketch
|vectorize a drawing
|vectorize a bitmap
|vectorize a raster file
|auto-vectorize a design
|vectorized logo
|vectorized artwork
主题
graphic_design
|digital_art
|images
|printing
例句
- The designer vectorized the old logo so it would stay sharp on a billboard.
- This tool can vectorize a scanned signature, but you may need to clean up the curves.
- After vectorizing the map, we could edit each road as a separate shape.
学习者例句
- She vectorized the logo for printing.
- We need to vectorize this image before enlarging it.
动词
technical
C2
action
4
Reshape into one vector
To turn a matrix or array into one long list of numbers in a fixed order.
用法模式:
vectorize [a matrix/an array/a tensor]
常见错误:
In mathematics and data work, specify row-wise or column-wise order if the order matters.
近义词
flatten (common in programming; means make an array one-dimensional, often less formally)
|
reshape (broader; can change data into many shapes, not only a vector)
|
stack (describes one common method of making a vector from rows or columns)
反义词
unflatten (means restore a one-dimensional structure to a higher-dimensional shape)
|
reshape (can be the reverse when changing a vector back into a matrix or array)
搭配
vectorize a matrix
|vectorize an array
|vectorize a tensor
|vectorize row-wise
|vectorize column-wise
|vectorize by rows
|vectorize by columns
|vectorized matrix
|matrix vectorization
|column-wise vectorization
主题
mathematics
|statistics
|data_science
|linear_algebra
例句
- In this proof, we vectorize the matrix by stacking its columns.
- The preprocessing step vectorizes each 28-by-28 image into a 784-element array.
- When you vectorize the tensor, make sure the software uses the same element order.
学习者例句
- We vectorized the table into one long list of numbers.
- The matrix was vectorized column by column.
语法
词典原形
vectorize
IPA
GB/vˈɛktɚˌaɪz/
US/vˈɛktɚˌaɪz/
音节与重音
vec - tor - ize (3 个音节)
Stress on 1st syllable (vec)
词形变化
Verb
- Base: vectorize
- 3rd Person Singular: vectorizes
- Present Participle: vectorizing
- Past: vectorized
- Past Participle: vectorized
相关表达
vectorize over
1/vˈɛktɚˌaɪz ˈoʊvɚ/
phrasal verb
technical
Apply across a dimension
To make a function work automatically across many items in an array or batch.
例句
- The function handles one image, but vmap vectorizes it over the batch dimension.
- In this library, you can vectorize over rows instead of writing a for loop.
- The operation was vectorized over the time axis to speed up the simulation.