Files
fn_registry/functions/datascience/impute.md
T
egutierrez 47fac22230 chore: auto-commit (799 archivos)
- .claude/CLAUDE.md
- .claude/commands/subagentes.md
- .claude/rules/INDEX.md
- .mcp.json
- bash/functions/cybersecurity/analyze_dns.md
- bash/functions/cybersecurity/audit_http_headers.md
- bash/functions/cybersecurity/audit_ssh_config.md
- bash/functions/cybersecurity/check_firewall.md
- bash/functions/cybersecurity/detect_suspicious_users.md
- bash/functions/cybersecurity/encrypt_file.md
- ...

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 00:28:20 +02:00

26 lines
737 B
Markdown

---
name: impute
kind: function
lang: go
domain: datascience
version: "1.0.0"
purity: pure
signature: "func Impute(data []float64) []float64"
description: "Rellena valores NaN en un slice de float64 usando forward-fill, reemplazando cada NaN con el último valor válido anterior."
tags: [datascience, impute, missing, fill, pendiente-usar]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: ""
imports: ["math"]
params:
- name: data
desc: "slice de valores que pueden contener NaN (valores faltantes)"
output: "slice sin NaN, cada valor NaN reemplazado por el último valor válido anterior (forward-fill)"
tested: false
tests: []
test_file_path: ""
file_path: "functions/datascience/impute.go"
---