skpro.workflow.table package

Submodules

skpro.workflow.table.table module

class skpro.workflow.table.table.IdModifier(start_with=1)[source]

Bases: skpro.workflow.table.table.Modifier

Parameters:start_with (int, default=1) – Offset in ID count
modify(raw, headers)[source]

Modifies a raw table

Parameters:
  • raw
  • headers
Returns:

Return type:

Modified raw, headers

class skpro.workflow.table.table.Modifier[source]

Bases: object

Abstract modifier baseclass

modify(raw, headers)[source]

Modifies a raw table

Parameters:
  • raw
  • headers
Returns:

Return type:

Modified raw, headers

class skpro.workflow.table.table.RankModifier(vertical='score', horizontal='score', aggregate=False, visible=False)[source]

Bases: skpro.workflow.table.table.Modifier

Rank modifier

Parameters:
  • vertical
  • horizontal
  • aggregate
  • visible
modify(raw, headers)[source]

Modifies a raw table

Parameters:
  • raw
  • headers
Returns:

Return type:

Modified raw, headers

class skpro.workflow.table.table.SortModifier(key=None, reverse=False)[source]

Bases: skpro.workflow.table.table.Modifier

Parameters:
  • key
  • reverse
modify(raw, headers)[source]

Modifies a raw table

Parameters:
  • raw
  • headers
Returns:

Return type:

Modified raw, headers

class skpro.workflow.table.table.Table(tasks=None, modifiers=None)[source]

Bases: object

Parameters:
  • tasks
  • modifiers
add(controller, view)[source]

Add controllers

Parameters:
  • controller
  • view
cv(data, loss_func, tune=False, cv=None, optimizer=None, display_tuning=False, with_ranks=True)[source]
Parameters:
  • data
  • loss_func
  • tune
  • cv
  • with_tuning
  • with_ranks
info(with_group=False)[source]
Parameters:with_group
modify(modifier)[source]
print(models, fmt='pipe', with_headers=True, raw=False, return_only=False, verbose=1, debug=False)[source]

Print table

Parameters:
  • models
  • fmt (string or list) – None, ‘pipe’, ‘latex’
  • with_headers
  • raw
  • return_only
  • verbose
  • debug
render(models, verbose=0, debug=False)[source]

Render table

Parameters:
  • models
  • verbose
  • debug
skpro.workflow.table.table.filter_modifier(modifier)[source]

Module contents