Skip to main content

Loop Data Fractions

Synopsis

Uses only a fraction of the data to apply the inner operator on it.

Description

This operator works similar to the LearningCurveOperator . In contrast to this, it just splits the ExampleSet according to the parameter "fraction" and learns a model only on the subset. It can be used, for example, in conjunction with GridSearchParameterOptimizationOperator which sets the fraction parameter to values between 0 and 1. The advantage is, that this operator can then be used inside of a XValidation , which delivers more stable result estimations.

Input

example set

This is an example set input port

Output

model

Parameters

fraction

The fraction of examples which shall be used.

sampling type

Defines the sampling type (linear = consecutive subsets, shuffled = random subsets, stratified = random subsets with class distribution kept constant)

use local random seed

Indicates if a local random seed should be used.

local random seed

Specifies the local random seed