Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The method of parsing the feature, which is a list consisting of dictionaries with "site" and "length" keys and integer values, for an ANN model involves the following steps:

  1. Define the input layer of the ANN model to accept the feature as an input.
  2. Iterate through the list and extract the "site" and "length" values from each dictionary.
  3. Create separate arrays for "site" and "length" values.
  4. Normalize the arrays using a suitable normalization technique (e.g., min-max normalization).
  5. Merge the normalized arrays into a single input array, where "site" and "length" values are alternating columns.
  6. Pass the input array to the input layer of the ANN model for prediction.