public function getVector($omitUndefined = true)
    {
        $metrics = [];
        foreach ($this->vectorInputs as $name => $value) {
            if ($value != 'X' || !$omitUndefined) {
                $metrics[$name] = $value;
            }
        }

        return self::buildVector($metrics);
    }