Ultra 0.9.4
Loading...
Searching...
No Matches
dataframe.cc File Reference
#include "kernel/gp/src/dataframe.h"
#include "kernel/exceptions.h"
#include "kernel/random.h"
#include "utility/log.h"
#include "tinyxml2/tinyxml2.h"
#include <algorithm>
#include <sstream>

Namespaces

namespace  ultra

Functions

class_t ultra::src::label (const example &e)
domain_t ultra::src::from_weka (const std::string &n)

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/

Function Documentation

◆ from_weka()

domain_t ultra::src::from_weka ( const std::string & n)
nodiscard
Parameters
[in]nthe name of a weka domain
Returns
the internal id corresponding to the weka-domain n (D_VOID if unknown / not managed)

◆ label()

class_t ultra::src::label ( const example & e)
nodiscard

Gets the class_t ID (aka label) for a given example.

Parameters
[in]ean example
Returns
the label of the example
Warning
Used only in classification tasks.