100 Exercises / linear algebra / Linear algebra 100 Exercises
Introduction to Linear Algebra in Manufacturing | 10 Exercises to Compare Process KPIs by Vector
Compare manufacturing KPIs with vectors, dot products, norms and cosine similarity. Use Python to examine scaling, priorities and redundant data.
Manufacturing decisions often involve defect rates, downtime, energy intensity and production volume at the same time. Using eight fictional processes, this article shows how to represent KPIs as vectors, find similar processes and calculate improvement priorities.
The first ten exercises introduce vector operations used later in regression, PCA, optimization and similarity search. The series then progresses to matrices, eigenvalues, decompositions and applications.
About this article This article adapts Jupyter Notebooks used in corporate training by Surikobo or its representative, Hiroshi Wayama, with permission from the participating companies.
All data listed is fictional and has no relation whatsoever to real companies, factories, or figures.
Introduction: Practical Challenges in Manufacturing Covered in This Article
At a monthly meeting, the team must decide which process to improve first. A ranking based on defect rates may change when downtime, energy intensity and production volume are included. We compare processes while keeping the individual KPIs and their weights visible, so that the priority can be explained.
Common situations on site
- Each KPI has different units and ‘good orientation’
- Veterans make quick comprehensive judgments, but it’s hard to inherit the basis for their decisions.
- While we can see the difference from the average, we haven’t checked the overall process similarity
- The more metrics you add, the more duplicates and calculation instability of the same information increase.
Why is this issue so difficult to judge?
A percentage point of defects cannot be added directly to an hour of downtime. Total energy use also tends to rise with production volume, so totals alone do not measure efficiency. Vector operations let us examine magnitudes, directions, distances and redundant indicators separately.
Exercises in this article
| No. | Theme | Questions in the Manufacturing Industry |
|---|---|---|
| 001 | vector | How to represent the state of the process |
| 002 | dot product | How to reflect the importance of KPIs |
| 003 | norm | How far is a process from the reference? |
| 004 | distance | Which processes are close to each other? |
| 005 | cosine similarity | Are the directions of the KPI patterns similar? |
| 006 | normalization | How to align differences in units and scales |
| 007 | basis | How to understand the KPI coordinate axis |
| 008 | dimension | Are the number of indicators and amount of information the same? |
| 009 | linear combination | How to create the overall score |
| 010 | linear independence | Check for duplicate KPIs |
Preparing the Python environment
Run the Jupyter Notebook cells in order. The examples use NumPy, pandas, Matplotlib and IPython; japanize_matplotlib supports Japanese labels where needed. The random seed is fixed. Energy intensity is measured in kWh per thousand units.
Setup code: Preparing the Python environment (click to expand)
import sys
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import japanize_matplotlib
from IPython.display import display
SEED = 42
rng = np.random.default_rng(SEED)
pd.set_option("display.precision", 3)
print(f"Python: {sys.version.split()[0]}")
print(f"NumPy: {np.__version__}, pandas: {pd.__version__}")
Python: 3.14.4
NumPy: 2.5.1, pandas: 3.0.3
Creation of Fictional Data
Generate monthly KPIs for eight processes. Lower defect rates, downtime and energy intensity are better; higher production volume is better. In No.002 we reverse the production-volume sign so that larger standardized values consistently indicate a greater concern.
Setup code: Creation of Fictional Data (click to expand)
processes = [f"Process{c}" for c in "ABCDEFGH"]
latent_load = rng.normal(0, 1, len(processes))
latent_age = rng.normal(0, 1, len(processes))
df = pd.DataFrame(
{
"defect_rate_pct": np.clip(
2.5 + 0.65 * latent_age + rng.normal(0, 0.25, 8), 0.5, None
),
"stop_time_h": np.clip(
18 + 4.5 * latent_age + 2 * latent_load + rng.normal(0, 1.5, 8), 3, None
),
"electricity_intensity_kWh": np.clip(
42 + 3 * latent_age + 2.5 * latent_load + rng.normal(0, 1.2, 8), 20, None
),
"production_volume_thousand_pieces": np.clip(
105 + 12 * latent_load - 4 * latent_age + rng.normal(0, 4, 8), 50, None
),
},
index=processes,
).round(2)
df.index.name = "Process"
display(df)
ax = df.plot(kind="bar", subplots=True, layout=(2, 2), figsize=(11, 7), legend=False)
titles = ["defect_rate", "stop_time", "electricity_intensity", "production_volume"]
ylabels = ["%", "hours", "kWh/thousand_pieces", "thousand_pieces"]
for a, title, ylabel in zip(np.ravel(ax), titles, ylabels):
a.set_title(title)
a.set_xlabel("Process")
a.set_ylabel(ylabel)
a.grid(axis="y", alpha=0.3)
plt.tight_layout()
plt.show()
| defect_rate_pct | stop_time_h | electricity_intensity_kWh | production_volume_thousand_pieces | |
|---|---|---|---|---|
| Process | ||||
| ProcessA | 2.58 | 17.89 | 42.10 | 111.70 |
| ProcessB | 1.71 | 11.55 | 35.86 | 98.10 |
| ProcessC | 3.29 | 24.26 | 47.25 | 107.83 |
| ProcessD | 2.99 | 23.93 | 48.04 | 114.10 |
| ProcessE | 2.50 | 15.01 | 37.18 | 81.79 |
| ProcessF | 3.06 | 21.11 | 41.12 | 85.74 |
| ProcessG | 3.11 | 23.57 | 42.73 | 108.15 |
| ProcessH | 1.90 | 12.89 | 39.41 | 105.54 |

No.001: What is a vector?
Meaning in Practice
A vector represents the state of process A not just as a “defect rate” but as a sequence of multiple KPIs. By representing processes with KPIs in the same order, you can handle inter-process comparisons and scoring using common calculations.
Approach to Analysis and Modeling
Represent process by the KPI vector
Keep the meaning and order of the components fixed: defect rate, downtime, energy intensity and production volume. Process B must use the same order as process A.
Check with Python
kpi_cols = [
"defect_rate_pct",
"stop_time_h",
"electricity_intensity_kWh",
"production_volume_thousand_pieces",
]
X = df[kpi_cols].to_numpy()
x_a = X[0]
print("ProcessAofKPIvector:", x_a)
print("shape:", x_a.shape, "(4Vector of Ingredients)")
display(pd.Series(x_a, index=kpi_cols, name="ProcessA"))
ProcessAofKPIvector: [ 2.58 17.89 42.1 111.7 ]
shape: (4,) (4Vector of Ingredients)
defect_rate_pct 2.58
stop_time_h 17.89
electricity_intensity_kWh 42.10
production_volume_thousand_pieces 111.70
Name: ProcessA, dtype: float64
Reading the results
Process A can now be treated as a single point in four-dimensional space rather than four independent report values. However, at this stage, units are mixed, so simple amounts or sums of components have no meaning. Define the comparison rules from the next exercise onward.
No.002: What is the inner product?
Meaning in Practice
Policy weights express priorities such as quality, reliable operation and energy use. Their dot product with a standardized KPI vector produces a score for that policy.
Approach to Analysis and Modeling
For standardized concern vector and weight vector , define
Higher positive scores indicate greater concerns under the selected weights. The weights are choices made by the organization, so show how the ranking changes when they change.
Check with Python
issue = df.copy()
issue[
"production_volume_thousand_pieces"
] *= -1 # The larger the issue, the more unified it is
Z = (issue - issue.mean()) / issue.std(ddof=0)
weights = pd.Series([0.40, 0.30, 0.20, 0.10], index=kpi_cols, name="weight")
priority = Z.to_numpy() @ weights.to_numpy()
score_table = pd.DataFrame(
{"Improvement Priority by Inner Product": priority}, index=df.index
).sort_values("Improvement Priority by Inner Product", ascending=False)
display(weights.to_frame())
display(score_table)
| weight | |
|---|---|
| defect_rate_pct | 0.4 |
| stop_time_h | 0.3 |
| electricity_intensity_kWh | 0.2 |
| production_volume_thousand_pieces | 0.1 |
| Improvement Priority by Inner Product | |
|---|---|
| Process | |
| ProcessC | 1.033 |
| ProcessD | 0.775 |
| ProcessG | 0.633 |
| ProcessF | 0.563 |
| ProcessA | -0.171 |
| ProcessE | -0.385 |
| ProcessH | -1.058 |
| ProcessB | -1.389 |
Reading the results
A high score indicates larger concerns under the chosen weights, including 40% for quality and 30% for downtime. It does not measure the benefit or cost of an intervention. Present the weights alongside the ranking and compare alternative priorities.
No.003: What is a Norm?
Meaning in Practice
By measuring how far a process deviates from standard conditions on a single scale, you can perform primary screening of steps requiring attention.
Approach to Analysis and Modeling
The Euclidean, or , norm is
Standardized components measure deviation from the average process without mixing units. Squaring removes signs, so unusually good and unusually poor values both increase the norm.
Check with Python
norms = np.linalg.norm(Z.to_numpy(), axis=1)
norm_table = pd.DataFrame(
{"From the average imageL2norm": norms}, index=df.index
).sort_values("From the average imageL2norm", ascending=False)
display(norm_table)
plt.figure(figsize=(8, 4))
plt.bar(norm_table.index, norm_table.iloc[:, 0], color="#4472C4")
plt.title("Deviation from the mean KPI profile")
plt.xlabel("Process")
plt.ylabel("L2norm")
plt.grid(axis="y", alpha=0.3)
plt.tight_layout()
plt.show()
| From the average imageL2norm | |
|---|---|
| Process | |
| ProcessB | 2.707 |
| ProcessD | 2.280 |
| ProcessE | 2.242 |
| ProcessC | 2.204 |
| ProcessH | 1.944 |
| ProcessF | 1.684 |
| ProcessG | 1.456 |
| ProcessA | 0.927 |

Reading the results
A large norm identifies an unusual process, which may include favorable features such as high output. After screening by norm, inspect the individual standardized KPIs to identify the source and direction of the deviation.
No.004: What is Distance?
Meaning in Practice
To transfer an improvement method, first find processes with similar KPI profiles. Data similarity complements equipment-type and product-family classifications; it does not replace them.
Approach to Analysis and Modeling
For processes and , the Euclidean distance is
Distance is symmetric and is zero for a process compared with itself. Standardize the columns first so that a numerically large unit does not dominate.
Check with Python
Z_np = Z.to_numpy()
# Broadcasting creates every pairwise difference between process rows.
distance_matrix = np.linalg.norm(Z_np[:, None, :] - Z_np[None, :, :], axis=2)
dist_df = pd.DataFrame(distance_matrix, index=df.index, columns=df.index)
display(dist_df.round(2))
masked = distance_matrix.copy()
np.fill_diagonal(masked, np.inf)
i, j = np.unravel_index(np.argmin(masked), masked.shape)
print(
f"Closest Combinations: {df.index[i]} And {df.index[j]}(Distance {masked[i, j]:.3f})"
)
| Process | ProcessA | ProcessB | ProcessC | ProcessD | ProcessE | ProcessF | ProcessG | ProcessH |
|---|---|---|---|---|---|---|---|---|
| Process | ||||||||
| ProcessA | 0.00 | 2.84 | 2.27 | 2.08 | 2.99 | 2.57 | 1.57 | 1.83 |
| ProcessB | 2.84 | 0.00 | 4.89 | 4.80 | 2.20 | 3.59 | 4.05 | 1.18 |
| ProcessC | 2.27 | 4.89 | 0.00 | 0.81 | 4.15 | 2.59 | 1.17 | 3.97 |
| ProcessD | 2.08 | 4.80 | 0.81 | 0.00 | 4.43 | 3.10 | 1.43 | 3.78 |
| ProcessE | 2.99 | 2.20 | 4.15 | 4.43 | 0.00 | 1.93 | 3.43 | 2.48 |
| ProcessF | 2.57 | 3.59 | 2.59 | 3.10 | 1.93 | 0.00 | 2.10 | 3.27 |
| ProcessG | 1.57 | 4.05 | 1.17 | 1.43 | 3.43 | 2.10 | 0.00 | 3.24 |
| ProcessH | 1.83 | 1.18 | 3.97 | 3.78 | 2.48 | 3.27 | 3.24 | 0.00 |
Closest Combinations: ProcessC And ProcessD(Distance 0.810)
Reading the results
The closest pair has similar levels across the four standardized KPIs. Equipment specifications and other unrecorded conditions may still differ, so check them before transferring a change.
No.005: Cosine Similarity
Meaning in Practice
Cosine similarity compares the direction of KPI patterns independently of vector length. It helps identify processes where, for example, defects and downtime are the main concerns.
Approach to Analysis and Modeling
For nonzero vectors and ,
The value lies between −1 and 1. Values near 1 indicate similar directions, 0 indicates orthogonality and −1 indicates opposite directions. With centered KPIs, opposite directions mean that above-average concerns in one process tend to correspond to below-average concerns in the other.
Check with Python
unit_Z = Z_np / np.linalg.norm(Z_np, axis=1, keepdims=True)
cosine = unit_Z @ unit_Z.T
cos_df = pd.DataFrame(cosine, index=df.index, columns=df.index)
display(cos_df.round(2))
cos_masked = cosine.copy()
np.fill_diagonal(cos_masked, -np.inf)
i, j = np.unravel_index(np.argmax(cos_masked), cos_masked.shape)
print(
f"The most similar combination of task structures: {df.index[i]} And {df.index[j]}(Similarity {cosine[i, j]:.3f})"
)
| Process | ProcessA | ProcessB | ProcessC | ProcessD | ProcessE | ProcessF | ProcessG | ProcessH |
|---|---|---|---|---|---|---|---|---|
| Process | ||||||||
| ProcessA | 1.00 | 0.02 | 0.14 | 0.41 | -0.73 | -0.93 | 0.20 | 0.35 |
| ProcessB | 0.02 | 1.00 | -0.98 | -0.85 | 0.62 | -0.30 | -0.89 | 0.92 |
| ProcessC | 0.14 | -0.98 | 1.00 | 0.94 | -0.75 | 0.13 | 0.87 | -0.83 |
| ProcessD | 0.41 | -0.85 | 0.94 | 1.00 | -0.92 | -0.21 | 0.80 | -0.60 |
| ProcessE | -0.73 | 0.62 | -0.75 | -0.92 | 1.00 | 0.55 | -0.70 | 0.30 |
| ProcessF | -0.93 | -0.30 | 0.13 | -0.21 | 0.55 | 1.00 | 0.11 | -0.62 |
| ProcessG | 0.20 | -0.89 | 0.87 | 0.80 | -0.70 | 0.11 | 1.00 | -0.82 |
| ProcessH | 0.35 | 0.92 | -0.83 | -0.60 | 0.30 | -0.62 | -0.82 | 1.00 |
The most similar combination of task structures: ProcessC And ProcessD(Similarity 0.935)
Reading the results
A high cosine similarity suggests similar concern patterns. Distance compares levels, while cosine similarity compares directions. Report both when selecting processes for further comparison.
No.006: Normalization
Meaning in Practice
The defect rate and production volume have different numerical values. If calculated as-is, production volume becomes dominant, so scale adjustments tailored to the purpose of comparison are necessary.
Approach to Analysis and Modeling
Column standardization uses
Unit-length normalization instead divides each nonzero row by its norm: . The first aligns KPI scales; the second supports direction comparisons. Specify which operation is intended, and handle zero-variance columns or zero-length rows separately.
Check with Python
check = pd.DataFrame(
{
"Standardized average": Z.mean(),
"Standard Deviation After Standardization": Z.std(ddof=0),
}
)
display(check.round(10))
display(pd.DataFrame(unit_Z, index=df.index, columns=kpi_cols).round(3).head())
print("row norm:", np.linalg.norm(unit_Z, axis=1).round(6))
| Standardized average | Standard Deviation After Standardization | |
|---|---|---|
| defect_rate_pct | -0.0 | 1.0 |
| stop_time_h | 0.0 | 1.0 |
| electricity_intensity_kWh | -0.0 | 1.0 |
| production_volume_thousand_pieces | 0.0 | 1.0 |
| defect_rate_pct | stop_time_h | electricity_intensity_kWh | production_volume_thousand_pieces | |
|---|---|---|---|---|
| Process | ||||
| ProcessA | -0.124 | -0.198 | 0.103 | -0.967 |
| ProcessB | -0.632 | -0.552 | -0.531 | 0.116 |
| ProcessC | 0.539 | 0.515 | 0.618 | -0.251 |
| ProcessD | 0.280 | 0.468 | 0.683 | -0.487 |
| ProcessE | -0.117 | -0.348 | -0.497 | 0.787 |
row norm: [1. 1. 1. 1. 1. 1. 1. 1.]
Reading the results
The standardized columns have mean approximately 0 and standard deviation 1; the normalized rows have length 1. Save the reference-period means and standard deviations for later months so that the comparison baseline does not change silently.
No.007: What is a Basis?
Meaning in Practice
Even for the same process state, the way explanations are made varies depending on whether you view them from the perspective of ‘original KPIs’ or ‘quality, stability, environment, and capability.’ The basis is how to choose the coordinate axis to describe the state.
Approach to Analysis and Modeling
The standard basis of four-dimensional space is . If the columns of an orthogonal matrix form a new basis, then
The coordinates change, but the vector can be reconstructed without losing information.
Check with Python
Q = np.array(
[
[1, 1, 0, 0],
[1, -1, 0, 0],
[0, 0, 1, 1],
[0, 0, 1, -1],
],
dtype=float,
) / np.sqrt(2)
z_a = Z_np[0]
coords = Q.T @ z_a
restored = Q @ coords
result = pd.DataFrame(
{"Original coordinates": z_a, "restored value": restored}, index=kpi_cols
)
display(result.round(4))
print("Coordinates at the New Basis:", coords.round(4))
print("reconstruction error:", np.linalg.norm(z_a - restored))
| Original coordinates | restored value | |
|---|---|---|
| defect_rate_pct | -0.115 | -0.115 |
| stop_time_h | -0.183 | -0.183 |
| electricity_intensity_kWh | 0.096 | 0.096 |
| production_volume_thousand_pieces | -0.896 | -0.896 |
Coordinates at the New Basis: [-0.2107 0.0486 -0.5663 0.7015]
reconstruction error: 2.3469468764647177e-16
Reading the results
We were able to restore the original vector from the new basis coordinates with almost no error. Basis transformation is not about “changing the data,” but about “changing the viewing axis.” In practice, being able to explain the meaning of new axes in field terminology is just as important as mathematical validity.
No.008: What is Dimension?
Meaning in Practice
If there are four columns of KPIs, they are formally four-dimensional, but if all the indicators move similarly, the actual amount of information is reduced. The number of dashboard items does not match the amount of independent information needed for decision-making.
Approach to Analysis and Modeling
The singular values describe variation along successive directions of the centered data matrix. The cumulative explained-variance ratio is
This helps select the number of directions needed to retain a chosen share of variation. Later exercises connect this calculation to PCA.
Check with Python
_, singular_values, _ = np.linalg.svd(Z_np, full_matrices=False)
ratio = singular_values**2 / np.sum(singular_values**2)
cum_ratio = np.cumsum(ratio)
dim_table = pd.DataFrame(
{
"singular value": singular_values,
"contribution rate": ratio,
"Cumulative contribution rate": cum_ratio,
},
index=[f"direction{i}" for i in range(1, 5)],
)
display(dim_table.round(3))
plt.figure(figsize=(7, 4))
plt.plot(range(1, 5), cum_ratio, marker="o")
plt.axhline(0.9, color="red", linestyle="--", label="90%")
plt.title("Number of Directions Used and Cumulative Contribution Rate")
plt.xlabel("number of directions")
plt.ylabel("Cumulative contribution rate")
plt.xticks(range(1, 5))
plt.ylim(0, 1.05)
plt.grid(alpha=0.3)
plt.legend()
plt.tight_layout()
plt.show()
| singular value | contribution rate | Cumulative contribution rate | |
|---|---|---|---|
| direction1 | 4.882 | 0.745 | 0.745 |
| direction2 | 2.738 | 0.234 | 0.979 |
| direction3 | 0.750 | 0.018 | 0.997 |
| direction4 | 0.317 | 0.003 | 1.000 |

Reading the results
Looking at the cumulative contribution rate, it is possible to explain major fluctuations without using all four columns. However, there are cases where the contribution rate is low and there are signs of a serious accident. Dimension reduction reduces the burden of visualization and monitoring, but essential KPIs for quality assurance must not be mechanically removed.
No.009: Linear Combination
Meaning in Practice
A weighted sum of KPI columns forms a score vector for all processes. This is a linear combination; a weighted average is a special case with appropriate weights.
Approach to Analysis and Modeling
For vector and coefficient ,
is called a linear combination. By adding the vectors of each KPI column with weights, you get the overall score vector for all processes. The design of coefficient signs, scales, and total constraints determines the meaning of the score.
Check with Python
quality_score = 0.7 * Z["defect_rate_pct"] + 0.3 * Z["stop_time_h"]
resource_score = (
0.6 * Z["electricity_intensity_kWh"] + 0.4 * Z["production_volume_thousand_pieces"]
)
combined = pd.DataFrame(
{
"Quality and Stability Score": quality_score,
"Resource & Ability Score": resource_score,
},
index=df.index,
)
display(combined.sort_values("Quality and Stability Score", ascending=False))
plt.figure(figsize=(7, 5))
plt.scatter(combined.iloc[:, 0], combined.iloc[:, 1], s=70)
for name, row in combined.iterrows():
plt.annotate(
name.replace("Process", ""),
(row.iloc[0], row.iloc[1]),
xytext=(5, -12) if name == "ProcessF" else (5, 5),
textcoords="offset points"
)
plt.axhline(0, color="gray", lw=0.8)
plt.axvline(0, color="gray", lw=0.8)
plt.margins(0.10)
plt.title("Process KPI scores (labels A–H)")
plt.xlabel("Quality and stability score (higher = greater concern)")
plt.ylabel("Resource and capacity score (higher = greater concern)")
plt.grid(alpha=0.3)
plt.tight_layout()
plt.show()
| Quality and Stability Score | Resource & Ability Score | |
|---|---|---|
| Process | ||
| ProcessC | 1.172 | 0.596 |
| ProcessG | 0.898 | -0.082 |
| ProcessD | 0.766 | 0.490 |
| ProcessF | 0.681 | 0.478 |
| ProcessA | -0.135 | -0.301 |
| ProcessE | -0.417 | 0.037 |
| ProcessH | -1.319 | -0.479 |
| ProcessB | -1.646 | -0.738 |

Reading the results
The two scores distinguish quality and reliability concerns from resource and capacity concerns. Processes in the upper right need attention on both axes. Check how positions change under different weights before selecting actions.
No.010: Linear Independence
Meaning in Practice
Adding columns that can be fully reproduced by constant multiples or sums of existing KPIs, such as ‘operating loss rate’ defined from downtime, does not add new information. Overlapping metrics destabilize model estimates and make meeting materials redundant.
Approach to Analysis and Modeling
Vectors are linearly independent if
holds only when every coefficient is zero. A matrix with rank below its column count has redundant columns. For measured data, inspect small singular values and condition numbers as well as exact dependence.
Check with Python
independent_matrix = Z_np
duplicate_col = 2 * Z_np[:, 0] + 0.5 * Z_np[:, 1]
dependent_matrix = np.column_stack([Z_np, duplicate_col])
print(
"Number of original columns / Rank:",
independent_matrix.shape[1],
"/",
np.linalg.matrix_rank(independent_matrix),
)
print(
"derivativeKPINumber of columns after addition / Rank:",
dependent_matrix.shape[1],
"/",
np.linalg.matrix_rank(dependent_matrix),
)
print(
"Reproduction error of additional columns:",
np.linalg.norm(duplicate_col - (2 * Z_np[:, 0] + 0.5 * Z_np[:, 1])),
)
print(
"Singular Values After Addition:",
np.linalg.svd(dependent_matrix, compute_uv=False).round(6),
)
Number of original columns / Rank: 4 / 4
derivativeKPINumber of columns after addition / Rank: 5 / 4
Reproduction error of additional columns: 0.0
Singular Values After Addition: [8.430206 3.088074 0.80626 0.347143 0. ]
Reading the results
Adding one column to the derived KPI increased the number of columns, but the rank did not increase. In other words, even if the number of displayed items increases, the number of independent information does not increase. The KPI ledger records formulas and sources, and the analysis model adopts either the original indicator or the derived indicator depending on the purpose.
Using the results in practice
- By vectorizing processes, you can explicitly state the comparison rules.: You can discuss empirical comprehensive judgments as components, metrics, and weights.
- Distinguish by size and orientation: Norms and distances represent the level of deviation, while cosine similarity represents the assignment composition, and the applications differ.
- Scaling affects the comparison: Agree on the reference period, outlier treatment, and whether higher or lower values indicate improvement.
- The number of indicators and the amount of information are not the same: Checking dimension and linear independence helps avoid duplicate KPIs and unstable models.
- The overall score embeds a policy: The weights of inner products and linear combinations are transparent, allowing you to verify the robustness of rankings across multiple scenarios.
Preparing for practical use
- Define KPIs, units, aggregation cycles, positive directions, and make missing handling data a data dictionary.
- Equipping conditions that determine comparability, such as equipment, products, and shift configurations,
- Fix the reference period for standardization and set update rules when process changes occur.
- Weight is agreed upon in quality assurance, manufacturing, and management, and sensitivity analysis is maintained.
- Integrate scores into decision-making flows that include on-site inspections rather than directly linking scores to automated disposal
- Monitor monthly distribution changes, missing values, outliers, and overlapping indicators
Conclusion
Exercises No.001–010 represent process KPIs as vectors and compare them with dot products, norms, distances and cosine similarity. Standardization, basis changes, dimension and linear independence help check the data design. Fixing component order, scales and weights makes the comparisons reproducible. The next part develops subspaces, orthogonality and projection.
Consultations for Corporations
At Surikobou, you can consult on support tailored to on-site challenges and data maturity, such as designing manufacturing KPIs, process comparison, anomaly detection, demand forecasting, optimization, and training notebook setup. We can address issues even from the conceptual stage, such as “Which indicators should be established first?”
📩 Contact Us: www.surikobo.co.jp/contact
Please contact us to discuss your project.