Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Implement "prediction_id" column for "per_window" prediction for AC #2659

Merged
merged 1 commit into from
Nov 18, 2019

Conversation

nickjong
Copy link
Collaborator

Adds this column for predict and updates the semantics for classify. Unlike 5.8, this column now gives the index of the prediction within the session (instead of the index overall, which is just the row number in the result table)

Also fixes some places where the result SFrame should use the user's column name for the session ID, not the string "session_id"

Fixes #1706

Adds this column for `predict` and updates the semantics for `classify`. Unlike 5.8, this column now gives the index of the prediction within the session (instead of the index overall, which is just the row number in the result table)

Also fixes some places where the result SFrame should use the user's column name for the session ID, not the string "session_id"
@@ -516,10 +516,10 @@ simple_data_iterator::simple_data_iterator(const parameters &params)
next_row_(range_iterator_.begin()),
end_of_rows_(range_iterator_.end()),
sample_in_row_(0),
num_chunks_in_row_(0),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good idea!

@nickjong nickjong merged commit b0d7796 into apple:master Nov 18, 2019
@nickjong nickjong deleted the ac_predict_per_window branch November 18, 2019 18:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Functionality of prediction_id in predict of Activity Classifier
3 participants