Memuat
Memuat
Recursive Feature Elimination for Industrial Engineering and Production
0 views
Reduce the dimensions of number of operators and setup time related to line productivity using Recursive Feature Elimination to summarise the main pattern. Recursive Feature Elimination removes the least important features step by step based on model weights until the desired number remains. It suits selecting feature subsets for any model that exposes coefficients or importances.

Reduce the dimensions of number of operators and setup time related to line productivity using Recursive Feature Elimination to summarise the main pattern.
| Role | Variable | Unit |
|---|---|---|
| Main | Line productivity | unit/jam |
| Supporting 1 | Number of operators | orang |
| Supporting 2 | Setup time | menit |
RFE keeps 5 of 10 predictors for Line productivity with a cross-validated R2 of 0.932 and a test R2 of 0.951.
Computed from illustrative synthetic data, not from a real study.
Recursive Feature Elimination removes the least important features step by step based on model weights until the desired number remains. It suits selecting feature subsets for any model that exposes coefficients or importances.
Report the optimal number of features, the selected list, and the test score against the full model. State the base estimator used because it influences the ranking.
A short starting script with this project's variable names. The delivered version is adapted to your data and fully commented.
import numpy as np
import matplotlib.pyplot as plt
from sklearn.datasets import make_classification
from sklearn.feature_selection import RFECV
from sklearn.linear_model import LogisticRegression
from sklearn.preprocessing import StandardScaler
from sklearn.model_selection import train_test_split, StratifiedKFold
from sklearn.metrics import accuracy_score
X, line_productivity = make_classification(n_samples=400, n_features=15, n_informative=4,
n_redundant=2, random_state=24)
number_of_operators = X[:, 0]
setup_time = X[:, 1]
X_tr, X_te, y_tr, y_te = train_test_split(X, line_productivity, test_size=0.25, stratify=line_productivity, random_state=24)
sc = StandardScaler().fit(X_tr)
Xs_tr, Xs_te = sc.transform(X_tr), sc.transform(X_te)
est = LogisticRegression(max_iter=1000)
rfecv = RFECV(est, step=1, cv=StratifiedKFold(5), scoring="accuracy").fit(Xs_tr, y_tr)
print("Optimal number of features:", rfecv.n_features_)
print("Selected:", np.flatnonzero(rfecv.support_))
acc_sel = accuracy_score(y_te, rfecv.predict(Xs_te))
acc_full = accuracy_score(y_te, est.fit(Xs_tr, y_tr).predict(Xs_te))
print("Test accuracy selected:", round(acc_sel, 3), "full:", round(acc_full, 3))
scores = rfecv.cv_results_["mean_test_score"]
plt.plot(range(1, len(scores) + 1), scores, marker="o")
plt.xlabel("Number of features"); plt.ylabel("CV accuracy")
plt.show()Choose how much help you need. Each higher package includes everything in the lower ones. Prices exclude 11% VAT.
Package 1
US$22
excl. 11% VAT
Duration: 5 working days
Output: Python files + result figures
Deliverables
Package 2 · most chosen
US$66
excl. 11% VAT
Duration: 9 working days
Output: Code + analysis + interpretation notes
Includes all of Package 1, plus
Package 3
US$147
excl. 11% VAT
Duration: 14-17 working days
Output: Code + analysis + guidance until ready to present
Includes all of Packages 1 & 2, plus
Yes. Recursive Feature Elimination is commonly used at this level in Industrial Engineering and Production. We adapt the analysis to your research question, your own data and your supervisor's requirements.
No. The sheet is computed from illustrative synthetic data so you can see the kind of output Python gives. For your order we run the same method on your own data.
That is the point of the packages. Every script is commented, and Package 3 includes two coaching sessions plus practice questions so you can explain the method and the results at your seminar and defence.
Each project has three packages: Package 1 (code and explanation) US$22, Package 2 (your data analysis and interpretation) US$66 and Package 3 (full guidance) US$147, excluding 11% VAT. Larger datasets, extra methods or tight deadlines adjust the quote after a short consultation.
The result sheet uses illustrative synthetic data. Python is a trademark of the Python Software Foundation.
Back to Python portfolio