-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #710 from nkeim/add-predict-tests
FIX: Fix prediction bugs
- Loading branch information
Showing
5 changed files
with
401 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
v0.6 | ||
---- | ||
|
||
This release focuses on fixing bugs and some inconsistencies in the prediction | ||
capabilities. Some existing code that used prediction may now fail to run until | ||
a (minor) update is made. | ||
|
||
Enhancements | ||
~~~~~~~~~~~~ | ||
|
||
|
||
API Changes | ||
~~~~~~~~~~~ | ||
|
||
- When supplying an initial velocity guess to NearestVelocityPredict or | ||
DriftPredict, you must also supply the pos_columns argument to identify | ||
the names of the columns in your array. (For example, | ||
"pos_columns = ['y', 'x']".) Otherwise, creating the predictor will | ||
raise an exception that explains this change. If you provide pos_columns | ||
when creating the predictor, you do not have to supply it when subsequently | ||
using the link_df() or link_df_iter() methods to link your features. | ||
|
||
Bug Fixes | ||
~~~~~~~~~ | ||
|
||
- When linking with prediction, the predictor now correctly uses the same | ||
position columns as the linker, and correctly handles the pos_columns | ||
argument if specified. | ||
- The link_df() method of predictor objects now works correctly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.