Icon

Conformal prediction regression (advanced)

This demo describes how to enrich the regression workflow with conformal prediction methods that allows to estimate model prediction certainity and control the desired error rate. The workflow is also implemented with Integrated deployment extension, so it automatically creates production code. Conformal prediction is agnostic to prediction algorithm, so users can easily replace it with any other classification algorithm.

Annotations and comments
  • Beta optimization
  • Train models and get calibration tables
  • Deploy conformal prediction
  • Error rate optimization
  • Capture prediction part
  • Deserializing model
  • Create new IDs
  • Gather models and calibration tables pairs
  • training calibration
  • Get calibration data set
  • Aggregating P-values (median)
  • Pair-wise iteration over models and calibration tables
  • Get conformal prediction
  • Estimate predictions
  • Normalization
  • Assign current error rate
  • Assign current beta value%%00009
  • Update table spec
  • Theoretical error rate vs Experimental error rate
  • Intervals
  • Iterate over producer and error rate
  • Iterate over producer and beta
  • Visualize predictions for selected producer
  • interval sizes vs beta
  • Gather optimization results
  • Sigma - absolute error
  • Serializing model
  • Normalize features and target variable
  • Optimize error rate
  • Optimize beta values
  • training + calibration test
  • Train model
  • Get predictions for calibration data set
  • Get predictions
  • Reduce data set size
  • Assign new RowIDs
  • Create dynamic column name
  • Read data
  • Run deployed workflow
  • Read deployed workflow
  • Deploy the workflow

Nodes

Extensions

Links