Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
modelisation-statistique-coeur
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Laurie Boffelli
modelisation-statistique-coeur
Commits
47c6edc4
Commit
47c6edc4
authored
1 year ago
by
adeline.paiement
Browse files
Options
Downloads
Patches
Plain Diff
relachement de la contrainte sur alpha
parent
95238766
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
parmorceauxMax-git/Dynamics_Model.m
+12
-12
12 additions, 12 deletions
parmorceauxMax-git/Dynamics_Model.m
with
12 additions
and
12 deletions
parmorceauxMax-git/Dynamics_Model.m
+
12
−
12
View file @
47c6edc4
...
...
@@ -96,12 +96,12 @@ classdef Dynamics_Model < matlab.mixin.Copyable %handle
alpha
=
mean
(
factors
);
if
alpha
<=
0.85
*
obj
.
alpha_initial
;
%0.75 %0.015 0.75%0.85%0.9
alpha
=
0.85
*
obj
.
alpha_initial
;
%0.75%0.015;%0.85%0.9
end
if
alpha
>=
1.15
*
obj
.
alpha_initial
;
%1.25%0.015 1.25%1.15%1.1
alpha
=
1.15
*
obj
.
alpha_initial
;
%1.25%0.015;%1.15%1.1
end
%
if alpha <= 0.85 * obj.alpha_initial; %0.75 %0.015 0.75%0.85%0.9
%
alpha = 0.85 * obj.alpha_initial; %0.75%0.015;%0.85%0.9
%
end
%
if alpha >= 1.15 * obj.alpha_initial; %1.25%0.015 1.25%1.15%1.1
%
alpha = 1.15 * obj.alpha_initial; %1.25%0.015;%1.15%1.1
%
end
end
end
function
estimate_X
(
obj
)
...
...
@@ -191,12 +191,12 @@ classdef Dynamics_Model < matlab.mixin.Copyable %handle
obj
.
current_alpha
=
mean
(
factors
);
if
obj
.
current_alpha
<=
0.85
*
obj
.
alpha_initial
;
%0.75 %0.015 0.75%0.85%0.9
obj
.
current_alpha
=
0.85
*
obj
.
alpha_initial
;
%0.75%0.015;%0.85%0.9
end
if
obj
.
current_alpha
>=
1.15
*
obj
.
alpha_initial
;
%1.25%0.015 1.25%1.15%1.1
obj
.
current_alpha
=
1.15
*
obj
.
alpha_initial
;
%1.25%0.015;%1.15%1.1
end
%
if obj.current_alpha <= 0.85 * obj.alpha_initial; %0.75 %0.015 0.75%0.85%0.9
%
obj.current_alpha = 0.85 * obj.alpha_initial; %0.75%0.015;%0.85%0.9
%
end
%
if obj.current_alpha >= 1.15 * obj.alpha_initial; %1.25%0.015 1.25%1.15%1.1
%
obj.current_alpha = 1.15 * obj.alpha_initial; %1.25%0.015;%1.15%1.1
%
end
obj
.
plot_estimated_X
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment