feat: 15 funciones datascience — estadística, DSP e IO de datos

12 funciones puras con implementación real:
Standardize, MinMaxScale, Clip, RollingWindow, ZipSlices, GroupBy,
Histogram, Pearson, Autocorrelation, FFT (Cooley-Tukey), DetectOutliers, Impute

3 funciones impuras (stubs):
LoadCSV, LoadParquet, FetchDataFrame

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-28 02:23:36 +01:00
parent 113c6dfd71
commit fc734029c1
30 changed files with 674 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
---
name: pearson
kind: function
lang: go
domain: datascience
version: "1.0.0"
purity: pure
signature: "func Pearson(xs, ys []float64) float64"
description: "Calcula el coeficiente de correlación de Pearson entre dos slices de float64."
tags: [datascience, statistics, correlation, pearson]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: ""
imports: ["math"]
tested: false
tests: []
test_file_path: ""
file_path: "functions/datascience/pearson.go"
---