Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #20

Merged
merged 25 commits into from
Jun 7, 2024
Merged

Dev #20

merged 25 commits into from
Jun 7, 2024

Conversation

bmeyers
Copy link
Member

@bmeyers bmeyers commented May 16, 2024

No description provided.

@@ -37,7 +37,10 @@ def prepare_attributes(self, T, p=1):
self._Pz = sp.block_diag([
c._Pz for c in self._gf_list
])
self._make_q()
# same logic as above but for q
Copy link
Member Author

Choose a reason for hiding this comment

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

add comment: this is related to "close to input vector" class, which is incomplete and ready for use. q is still set to be zero for all implemented classes.

@@ -53,6 +56,9 @@ def _make_P(self):
c._Pz for c in self._gf_list
])

def _make_r(self):
Copy link
Member Author

Choose a reason for hiding this comment

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

comment: still always set to zero

@@ -53,6 +53,34 @@ def _make_B(self):
def _make_c(self):
self._c = np.concatenate([np.atleast_1d(self._c[-1]),
[self._last_val]])


class ValsEqual(GraphComponent):
Copy link
Member Author

Choose a reason for hiding this comment

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

incomplete and no intention to finish at this time

Copy link
Member Author

Choose a reason for hiding this comment

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

add not implemented warning

@@ -9,17 +11,65 @@ def __init__(self, *args, **kwargs):
def _make_P(self, size):
return self.weight * 2 * sp.eye(size) # note the (1/2) in canonical form!


class SumSquareReference(GraphComponent):
"""
Copy link
Member Author

Choose a reason for hiding this comment

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

add not implemented warning?

@bmeyers bmeyers merged commit 84caba1 into main Jun 7, 2024
5 checks passed
@bmeyers bmeyers deleted the dev branch June 7, 2024 17:38
bmeyers added a commit that referenced this pull request Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants