Scikit-Learn Workflow & Pipeline Lab sklearn.pipeline

1. Prepare X, y = load()
2. Split train_test_split()
3. Instantiate model = Estimator()
4. Fit model.fit(X_tr, y_tr)
5. Predict & Eval model.predict(X_te)
Training Data (45)
Testing / Unseen Data (15)
Fitted Model Curve (LinearRegression)
Active Inference Probe
Click anywhere on canvas to run model.predict()
Live Inference Probe: X = 2,100 sq ft model.predict()
Predicted Label (Price): $412,500.00
Evaluated using current model parameters learned exclusively from training samples.
Training Performance
28,450.2
Train RMSE (Lower is better)
Test / Generalization
31,120.8
Test RMSE (True test of model)

Verified Scikit-Learn Python Code

Syncs automatically with UI
# Loading code...