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

BUGFIX: Removing unnecessary indentation in Aalen Additve fitter #423

Closed

Conversation

springcoil
Copy link

@springcoil springcoil commented Mar 8, 2018

I think related to #421 that there's an unnecessary indent in your fitter. Maybe I'm wrong, however consider this an attempt to fix it.

@springcoil springcoil changed the title Changing aalen additive BUGFIX: Removing unnecessary indentation in Aalen Additve fitter Mar 8, 2018
Removing unnecessary extra stuff from this commit

Removing commit

Adding comments
@@ -183,11 +183,12 @@ def _fit_static(self, dataframe, duration_col, event_col=None,
relevant_individuals = (ids == id)
assert relevant_individuals.sum() == 1.

# perform linear regression step.
Copy link
Owner

Choose a reason for hiding this comment

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

the for loop above does nothing. I don't understand these changes

Copy link
Author

Choose a reason for hiding this comment

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

Hmm, do you have a sketch of the algorithm for this? Now I'm confused, as it seemed that the linear regression step was causing this to hang when I ran it leading to the 4 days!!!.

@springcoil
Copy link
Author

I'm cancelling this.

@springcoil springcoil closed this Mar 12, 2018
@springcoil springcoil deleted the changing_aalen_additive branch March 12, 2018 13:24
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.

None yet

3 participants