Commit 8031977
authored
Separate DiscreteSINDy as a new class (#654)
* CLN: Separate DiscreteSINDy as its own class
* CLN: ensure consistency of shapes and types of x_next and u, and compatibility with multiple trajectories for DiscreteSINDy
* TST: update tests for DiscreteSINDy
* DOC: Update documentation for DiscreteSINDy
* CLN: use predict from BaseSINDy for SINDy and DiscreteSINDy models
* CLN: Remove SINDy.differentiate()
* FIX: process trajectories only when x_dot is None
* CLN: lint the code
* FIX: fix _tensordot_to_einsum error
* CLN: remove discrete_time from scikit-time API
* CLN: remove SINDy.differentiate() and update DiscreteSINDy for feature overview notebook
* FIX: remove SINDyPI conditionals from DiscreteSINDy.print()
* TST: add test for validate_control_variables function
* DOC: update documentation and add logistic map example in DiscreteSINDy documentation
* CLN: separate equations function for DiscreteSINDy and code cleanup
* DOC: remove discrete SINDy examples from feature overview
* CLN: remove unnecessary import from core
* DOC: fix logistic map plot in DiscreteSINDy documentation
* FIX: show plot source code for discrete sindy documentation1 parent daac208 commit 8031977
File tree
13 files changed
+1455
-1170
lines changed- docs
- examples/1_feature_overview
- pysindy
- feature_library
- optimizers
- utils
- test
- utils
13 files changed
+1455
-1170
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | 152 | | |
177 | 153 | | |
178 | 154 | | |
| |||
782 | 758 | | |
783 | 759 | | |
784 | 760 | | |
785 | | - | |
| 761 | + | |
786 | 762 | | |
787 | 763 | | |
788 | 764 | | |
| |||
905 | 881 | | |
906 | 882 | | |
907 | 883 | | |
908 | | - | |
| 884 | + | |
909 | 885 | | |
910 | 886 | | |
911 | 887 | | |
| |||
1053 | 1029 | | |
1054 | 1030 | | |
1055 | 1031 | | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
1099 | | - | |
1100 | | - | |
1101 | | - | |
1102 | | - | |
1103 | | - | |
1104 | | - | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
1111 | | - | |
1112 | 1032 | | |
1113 | 1033 | | |
1114 | 1034 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| 70 | + | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
| |||
0 commit comments