Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Engineering Digital Service
Metabase
Commits
66f3234f
Commit
66f3234f
authored
7 years ago
by
Simon Belak
Browse files
Options
Downloads
Patches
Plain Diff
Docstring tweaks
parent
d43dfd4a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/metabase/feature_extraction/feature_extractors.clj
+2
-2
2 additions, 2 deletions
src/metabase/feature_extraction/feature_extractors.clj
with
2 additions
and
2 deletions
src/metabase/feature_extraction/feature_extractors.clj
+
2
−
2
View file @
66f3234f
...
...
@@ -98,7 +98,7 @@
(
h/equidistant-bins
min-value
max-value
bin-width
histogram
))))))
(
defn-
triangle-area
"Return the area
by
triangle specified by vertices `[x1, y1]`, `[x2, y2]`, and
"Return the area
of
triangle specified by vertices `[x1, y1]`, `[x2, y2]`, and
`[x3, y3].`
http://mathworld.wolfram.com/TriangleArea.html"
[[
x1
y1
]
[
x2
y2
]
[
x3
y3
]]
...
...
@@ -113,7 +113,7 @@
"Downsample series `series` to (approximately) `target-size` data points using
Largest-Triangle-Three-Buckets algorithm. Series needs to be at least
2*`target-size` long for the algorithm to make sense. If it is not, the
original series is returned
unmolested
.
original series is returned.
Note: this is true downsampling (selecting just some points), with no
smoothing performed.
...
...
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