ActiveLearningUtils クラス

  • java.lang.Object
    • com.microsoft.bot.ai.qna.utils.ActiveLearningUtils

public final class ActiveLearningUtils

アクティブ ラーニング ヘルパー クラス。

メソッドの概要

修飾子と型 メソッドと説明
static java.util.List<QueryResult> getLowScoreVariation(List<QueryResult> qnaSearchResults)

スコアのバリエーションが低い qna検索結果の一覧を返します。

static java.lang.Float getMaximumScoreForLowScoreVariation()

低スコアバリエーションの最大スコアを取得します。

static java.lang.Float getMinimumScoreForLowScoreVariation()

低スコアバリエーションの最小スコアを取得します。

static void setMaximumScoreForLowScoreVariation(Float withMaximumScoreForLowScoreVariation)

低スコアバリエーションの最大スコアを設定します。

static void setMinimumScoreForLowScoreVariation(Float withMinimumScoreForLowScoreVariation)

低スコアバリエーションの最小スコアを設定します。

メソッドの継承元: java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

メソッドの詳細

getLowScoreVariation

public static List getLowScoreVariation(List qnaSearchResults)

スコアのバリエーションが低い qnaSearch の結果の一覧を返します。

パラメーター:

qnaSearchResults - QnaSearch の結果の一覧。

戻り値:

フィルター処理された qnaSearch 結果の一覧。

getMaximumScoreForLowScoreVariation

public static Float getMaximumScoreForLowScoreVariation()

低スコアバリエーションの最大スコアを取得します。

戻り値:

低スコアバリエーションの最大スコア。

getMinimumScoreForLowScoreVariation

public static Float getMinimumScoreForLowScoreVariation()

低スコアバリエーションの最小スコアを取得します。

戻り値:

低スコアバリエーションの最小スコア。

setMaximumScoreForLowScoreVariation

public static void setMaximumScoreForLowScoreVariation(Float withMaximumScoreForLowScoreVariation)

低スコアバリエーションの最大スコアを設定します。

パラメーター:

withMaximumScoreForLowScoreVariation - 低スコアバリエーションの最大スコア。

setMinimumScoreForLowScoreVariation

public static void setMinimumScoreForLowScoreVariation(Float withMinimumScoreForLowScoreVariation)

低スコアバリエーションの最小スコアを設定します。

パラメーター:

withMinimumScoreForLowScoreVariation - 低スコアバリエーションの最小スコア。

適用対象