Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
006b4500d188491bec31dcfa180916c2
mooc-rr
Commits
05c1fac2
Commit
05c1fac2
authored
Jun 07, 2020
by
Samuel MEYNARD
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout export pour les résultats
parent
5eb48660
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
exercice_python_fr.org
module3/exo3/exercice_python_fr.org
+4
-4
No files found.
module3/exo3/exercice_python_fr.org
View file @
05c1fac2
...
...
@@ -265,7 +265,7 @@ np.array(S_l1500).reshape(1, -1)[:9]
#+RESULTS:
| 1759 | 1843 | 1511 | ... | 1503 | 1515 | 1875 |
#+BEGIN_SRC python :session
#+BEGIN_SRC python :session
:results replace :export both
from sklearn.linear_model import LinearRegression
from sklearn.metrics import mean_squared_error
S_tt = [[value] for value in S_l1500]
...
...
@@ -282,7 +282,7 @@ f"Les coeff sont L = {lmodel.intercept_} et C = { 1 / lmodel.coef_}"
: Les coeff sont L = 3.257592785874401 et C = [2761.3155395]
** Cas supérieur à la MTU
#+BEGIN_SRC python :session
#+BEGIN_SRC python :session
:results replace :export both
from sklearn.linear_model import LinearRegression
from sklearn.metrics import mean_squared_error
S_tt = [[value] for value in S_g1500]
...
...
@@ -524,7 +524,7 @@ np.array(S_l1500).reshape(1, -1)[:9]
#+RESULTS:
| 1759 | 1843 | 1511 | ... | 1503 | 1515 | 1875 |
#+BEGIN_SRC python :session
#+BEGIN_SRC python :session
:results replace :export both
from sklearn.linear_model import LinearRegression
from sklearn.metrics import mean_squared_error
S_tt = [[value] for value in S_l1500]
...
...
@@ -574,7 +574,7 @@ fig.savefig('stacko_g1500_reglineaireT-f(S).png')
#+RESULTS:
: None
#+BEGIN_SRC python :session
#+BEGIN_SRC python :session
:results replace :export both
from sklearn.linear_model import LinearRegression
from sklearn.metrics import mean_squared_error
S_tt = [[value] for value in S_g1500]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment