Skip to content

Commit

Permalink
Update nn.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dsman1823 authored Mar 30, 2024
1 parent 6f61e9a commit bf5c701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepdowmine/nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, n_channels, lookback, n_assets, max_weight, p):
self.linear_for_cov = torch.nn.Linear(n_features, self.n_assets * self.cov_n_rows, bias = True)

self.covariance_layer = CovarianceMatrix(
sqrt=False, shrinkage_strategy=None
sqrt=True, shrinkage_strategy=None
)
self.portfolio_opt_layer = ThesisMarkowitzMinVar(n_assets, max_weight=max_weight)

Expand Down

0 comments on commit bf5c701

Please sign in to comment.