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

Feature: BaseWeightedLinearRegression #1431

Merged
merged 3 commits into from
Feb 5, 2024
Merged

Conversation

emhbrine
Copy link
Contributor

@emhbrine emhbrine commented Feb 1, 2024

No description provided.

@emhbrine emhbrine marked this pull request as ready for review February 1, 2024 12:16
@emhbrine emhbrine requested review from rushilg99 and a team as code owners February 1, 2024 12:16
Copy link

codecov bot commented Feb 1, 2024

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (b922098) 82.07% compared to head (e31a926) 82.05%.
Report is 1 commits behind head on develop.

❗ Current head e31a926 differs from pull request most recent head a5edaf7. Consider uploading reports for the commit a5edaf7 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1431      +/-   ##
===========================================
- Coverage    82.07%   82.05%   -0.03%     
===========================================
  Files           59       59              
  Lines         5920     5906      -14     
===========================================
- Hits          4859     4846      -13     
+ Misses        1061     1060       -1     
Files Coverage Δ
macrosynergy/learning/signal_optimizer.py 98.72% <100.00%> (ø)
macrosynergy/learning/transformers.py 92.27% <100.00%> (ø)
macrosynergy/learning/predictors.py 88.88% <90.76%> (-0.46%) ⬇️

Impacted file tree graph

rushilg99
rushilg99 previously approved these changes Feb 2, 2024
@emhbrine emhbrine force-pushed the feature/weighted_regression branch 2 times, most recently from 12f814f to 1ad88bc Compare February 2, 2024 15:08
into the constructor.

:param <pd.DataFrame> X: Pandas dataframe of input features.
:param <Union[pd.DataFrame, pd.Series]> y: Pandas series or dataframe of targets
associated with each sample in X.

:return <SignWeightedRegressor>
:return <BaseWeightedLinearRegression>
Copy link
Contributor

Choose a reason for hiding this comment

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

This should return an instance of BaseWeightedRegressor not BaseWeightedLinearRegression right?

@rushilg99 rushilg99 self-requested a review February 2, 2024 19:52
rushilg99
rushilg99 previously approved these changes Feb 2, 2024
@Magnus167 Magnus167 merged commit 8cf841e into develop Feb 5, 2024
5 checks passed
@Magnus167 Magnus167 deleted the feature/weighted_regression branch February 5, 2024 12:42
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