Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

Data Structures and Program State

Reconnect the feature adapter

Coding challenges

The response arrives backwards

The response changed order while the fitted coefficients stayed put.

BOTIE

The values reverse with their names. Should the prediction change?
The inputs we are comparing

Incoming feature names

Original response

  1. 0t
  2. 1v

API reverses columns

  1. 0v
  2. 1t

Aligned values

Original response

  1. 020
  2. 13

API reverses columns

  1. 03
  2. 120

Saved model order

Same in both cases

  1. 0t
  2. 1v

Saved coefficients

Same in both cases

  1. 02
  2. 110
Result for original response
70
Choose an explanation to test
Three model features arrive out of order

This check uses the pieces from “Repair the model input boundary”.

BOTIE

Botie now receives c, a and b, while the model expects a, b and c. Predict the weighted sum before connecting the new record.
Incoming feature names
  1. 0c
  2. 1a
  3. 2b
Aligned values
  1. 04
  2. 12
  3. 23
Saved model order
  1. 0a
  2. 1b
  3. 2c
Saved coefficients
  1. 01
  2. 110
  3. 2100

Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.

Build a construction in the workspace above first. This case will test those pieces.

What should happen if temperature changes units?

Store units and order with the fitted artifact.

The workshop assumes numerical values in agreed units; the Python adapter covers structural errors.

Continue the courseA Fitted Object Should Remember Its Training →
← The journey map