Ultra 0.9.4
Loading...
Searching...
No Matches
columns_info.h File Reference
#include "kernel/symbol.h"
#include "kernel/value.h"
#include "utility/misc.h"
#include <algorithm>
#include <functional>
#include <iostream>
#include <optional>
#include <random>
#include <set>
#include <string>
#include <vector>
#include "columns_info.tcc"

Go to the source code of this file.

Classes

class  ultra::src::columns_info
class  ultra::src::columns_info::column_info
 Information about a single column of the dataset. More...

Namespaces

namespace  ultra

Concepts

concept  ultra::src::DataframeRow
concept  ultra::src::DataframeMatrix

Enumerations

enum class  ultra::src::typing { weak , strong }
enum class  ultra::src::task_t { classification , regression , unsupervised }

Functions

constexpr std::size_t ultra::src::internal::normalised_column_count (std::size_t raw_count, std::optional< std::size_t > output_index) noexcept
constexpr std::optional< std::size_t > ultra::src::internal::raw_column_index (std::size_t idx, std::optional< std::size_t > output_index) noexcept

Detailed Description

Remarks
This file is part of ULTRA.
License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/

Enumeration Type Documentation

◆ task_t

enum class ultra::src::task_t
strong

Type of learning task associated with the dataframe.

  • classification: discrete output variable;
  • regression: continuous output variable;
  • unsupervised: no designated output variable.

◆ typing

enum class ultra::src::typing
strong

Strategy used for data typing.

  • weak. Types are inferred permissively: columns that share the same domain (e.g. double with double, string with string...) can be freely mixed by the engine;
  • strong. Types are inferred strictly: every column has its own type/category (Strongly Typed Genetic Programming).

Even when specifying typing::weak the engine won't mix all the columns. In particular, a unique category will be assigned to:

  • columns associated with distinct domains;
  • columns with d_string domain.
See also
https://github.com/morinim/ultra/wiki/bibliography#10