Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
35
Issue boards
Milestones
Wiki
Code
Merge requests
7
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rdm-software
SaQC
Commits
13cbda4d
Commit
13cbda4d
authored
3 years ago
by
David Schäfer
Browse files
Options
Downloads
Patches
Plain Diff
remove git relicts
parent
d0c2fada
No related branches found
Branches containing commit
No related tags found
Tags containing commit
7 merge requests
!685
Release 2.4
,
!684
Release 2.4
,
!567
Release 2.2.1
,
!566
Release 2.2
,
!501
Release 2.1
,
!372
fix doctest snippets
,
!369
Current documentation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sphinx-doc/cook_books/OutlierDetection.rst
+1
-17
1 addition, 17 deletions
sphinx-doc/cook_books/OutlierDetection.rst
with
1 addition
and
17 deletions
sphinx-doc/cook_books/OutlierDetection.rst
+
1
−
17
View file @
13cbda4d
...
@@ -132,11 +132,7 @@ model via the method :py:func:`saqc.roll <Functions.saqc.roll>`.
...
@@ -132,11 +132,7 @@ model via the method :py:func:`saqc.roll <Functions.saqc.roll>`.
.. code-block:: python
.. code-block:: python
<<<<<<< HEAD
>>> i_saqc = i_saqc.roll(field='incidents', target='incidents_mean', func=np.mean, winsz='13D')
>>> i_saqc = i_saqc.roll(field='incidents', target='incidents_mean', func=np.mean, winsz='13D')
=======
i_saqc = i_saqc.rolling.roll(field='incidents_model', func=np.mean, window='13D')
>>>>>>> develop
The :py:attr:`field` parameter is passed the variable name, we want to calculate the rolling mean of.
The :py:attr:`field` parameter is passed the variable name, we want to calculate the rolling mean of.
The :py:attr:`target` parameter holds the name, we want to store the results of the calculation to.
The :py:attr:`target` parameter holds the name, we want to store the results of the calculation to.
...
@@ -151,12 +147,7 @@ under the name ``ǹp.median``. We just calculate another model curve for the ``"
...
@@ -151,12 +147,7 @@ under the name ``ǹp.median``. We just calculate another model curve for the ``"
.. code-block:: python
.. code-block:: python
<<<<<<< HEAD
>>> i_saqc = i_saqc.roll(field='incidents', target='incidents_median', func=np.median, winsz='13D')
>>> i_saqc = i_saqc.roll(field='incidents', target='incidents_median', func=np.median, winsz='13D')
=======
i_saqc = i_saqc.tools.copy(field='incidents', new_field='incidents_median')
i_saqc = i_saqc.rolling.roll(field='incidents_median', func=np.median, window='13D')
>>>>>>> develop
We chose another :py:attr:`target` value for the rolling *median* calculation, in order to not override our results from
We chose another :py:attr:`target` value for the rolling *median* calculation, in order to not override our results from
the previous rolling *mean* calculation.
the previous rolling *mean* calculation.
...
@@ -176,13 +167,8 @@ Another common approach, is, to fit polynomials of certain degrees to the data.
...
@@ -176,13 +167,8 @@ Another common approach, is, to fit polynomials of certain degrees to the data.
.. code-block:: python
.. code-block:: python
<<<<<<< HEAD
>>> i_saqc = i_saqc.fitPolynomial(field='incidents', target='incidents_polynomial', polydeg=2 ,winsz='13D')
>>> i_saqc = i_saqc.fitPolynomial(field='incidents', target='incidents_polynomial', polydeg=2 ,winsz='13D')
=======
i_saqc = i_saqc.tools.copy(field='incidents', new_field='incidents_polynomial')
i_saqc = i_saqc.curvefit.fitPolynomial(field='incidents_polynomial', order=2,
winsz='13D')
>>>>>>> develop
It also takes a :py:attr:`winsz` parameter, determining the size of the fitting window.
It also takes a :py:attr:`winsz` parameter, determining the size of the fitting window.
The parameter, :py:attr:`polydeg` refers to the size of the rolling window, the polynomials get fitted to.
The parameter, :py:attr:`polydeg` refers to the size of the rolling window, the polynomials get fitted to.
...
@@ -243,8 +229,6 @@ To see all the results obtained so far, plotted in one figure window, we make us
...
@@ -243,8 +229,6 @@ To see all the results obtained so far, plotted in one figure window, we make us
:alt:
:alt:
<<<<<<< HEAD
Residues and Scores
Residues and Scores
-------------------
-------------------
...
...
This diff is collapsed.
Click to expand it.
David Schäfer
@schaefed
mentioned in commit
63b55c6d
·
2 years ago
mentioned in commit
63b55c6d
mentioned in commit 63b55c6d7dadb0e612b23a897f292d5ffc14cb52
Toggle commit list
David Schäfer
@schaefed
mentioned in commit
684dc8a0
·
2 years ago
mentioned in commit
684dc8a0
mentioned in commit 684dc8a0515470d644fc85fee95d07661c8dd572
Toggle commit list
David Schäfer
@schaefed
mentioned in commit
8f7a90e4
·
1 year ago
mentioned in commit
8f7a90e4
mentioned in commit 8f7a90e4aed61c79a9dc8d67541a46beba0907e8
Toggle commit list
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