diagnosis

package
v0.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandDiagnose = cli.Command{
	Name:  "diagnose",
	Usage: "Diagnose training data or learned model",
	Description: `
Diagnose training data or learned model. This mode has two subcommand: label-conflict and feature-weight.
`,

	Subcommands: []cli.Command{
		{
			Name:  "label-conflict",
			Usage: "Diagnose label conflicts in training data",
			Description: `
Diagnose label conflicts in training data. 'conflict' means that an annotated label is '-1/1', but a predicted label by model is '1/-1'.
`,
			Action: labelconflict.DoLabelConflict,
			Flags: []cli.Flag{
				cli.BoolFlag{Name: "filter-status-code-ok", Usage: "Use only examples with status code = 200"},
			},
		},
		{
			Name:  "feature-weight",
			Usage: "List feature weight",
			Description: `
List feature weight.
`,
			Action: featureweight.DoListFeatureWeight,
			Flags: []cli.Flag{
				cli.BoolFlag{Name: "filter-status-code-ok", Usage: "Use only examples with status code = 200"},
			},
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL