Example
型パラメーター
| 名前 | 型 |
|---|---|
R | extends DatasetRow |
E | extends DatasetRow |
M | M |
階層
-
WeaveObject↳Evaluation
目次
コンストラクタ
プロパティ
アクセサ
メソッド
コンストラクタ
コンストラクター
R, E, M>(parameters): Evaluation<R, E, M>
型パラメーター
| 名前 | 型 |
|---|---|
R | extends DatasetRow |
E | extends DatasetRow |
M | M |
パラメータ
| 名前 | 型 |
|---|---|
parameters | EvaluationParameters<R, E, M> |
戻り値
Evaluation<R, E, M>
オーバーライド
定義元
evaluation.ts:148プロパティ
__savedRef
•Optional __savedRef: ObjectRef | Promise<ObjectRef>
継承元
定義場所
アクセサ
description
get description(): undefined | string
戻り値
undefined | string
継承元
定義元
weaveObject.ts:100name
get name(): string
戻り値
string
継承元
定義元
weaveObject.ts:96メソッド
evaluate
«destructured»): Promise<Record<string, any>>
パラメータ
| 名前 | 型 | デフォルト値 |
|---|---|---|
«destructured» | Object | undefined |
› maxConcurrency? | number | 5 |
› model | WeaveCallable<(…args: [{ datasetRow: R }]) => Promise<M>> | undefined |
› nTrials? | number | 1 |
戻り値
Promise<Record<string, any>>
定義場所
predictAndScore
«destructured»): Promise<{ model_latency: number = modelLatency; model_output: any = modelOutput; model_success: boolean = !modelError; scores: { [key: string]: any; } }>
パラメータ
| 名前 | 型 |
|---|---|
«destructured» | Object |
› columnMapping? | ColumnMapping<R, E> |
› example | R |
› model | WeaveCallable<(…args: [{ datasetRow: E }]) => Promise<M>> |
戻り値
Promise<{ model_latency: number = modelLatency; model_output: any = modelOutput; model_success: boolean = !modelError; scores: { [key: string]: any; } }>
定義場所
saveAttrs
Object
戻り値
Object