---
sourceDocument: オーストラリア API リファレンス
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/api-reference

 Release :

    - australia

ft:locale :

    - ja-JP

ft:publication_title :

    - オーストラリア API リファレンス

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# PredictabilityEstimateStore - グローバル

# PredictabilityEstimateStore - グローバル {#ariaid-title1}

* リリースバージョン: Australia
* 
* 更新日 2026年03月12日
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 所要時間：6分

の保存と取得を可能にします 予測可能性の推定値。

PredictabilityEstimateStore API には 予測インテリジェンス プラグイン (com.glide.platform_ml) が必要で、 `sn_ml` 名前空間内で提供されます。

## PredictabilityEstimateStore - add(オブジェクト mlEstimate) {#ariaid-title2}

新しい予測可能性の推定を追加します オブジェクトをストアに追加し、一意の名前を返します。
注:  
ラベル値は一意である必要はありません。たとえば、同じラベルでこのメソッドを 10 回実行すると、このメソッドは一意の名前を持つ 10 個の異なるオブジェクトをストアに追加します。
{#PredictbltyEstStore-add_O__table_vwy_1fr_llb__entry__3}

| 名前 | タイプ | 説明 |
|-|-|-|
| mlEstimate | [予測可能性の推定](https://servicenow-prod.fluidtopics.net/57paZuJ_FMhuOGsSAEvg0w#PredictabilityEstimateAPI "PredictabilityEstimate API は、予測インテリジェンスストアで使用されるスクリプト可能なオブジェクトです。このオブジェクトは、データセットのフィールドがどの程度予測可能であるか、およびそれらのフィールドの予測に役立つ特徴量を示します。") | [PredictabilityEstimate()](https://servicenow-prod.fluidtopics.net/57paZuJ_FMhuOGsSAEvg0w#PrdctbltE-PredictabilityEstimate_O "予測可能性の推定値を作成します。") ストアに追加するオブジェクト。 |
[表 : 1. パラメーター]

{#PredictbltyEstStore-add_O__table_vwy_1fr_llb} {#PredictbltyEstStore-add_O__table_wwy_1fr_llb__entry__2}

| タイプ | 説明 |
|-|-|
| 文字列 | システムによって生成された予測可能性の推定名。 |
[表 : 2. 返される内容]

{#PredictbltyEstStore-add_O__table_wwy_1fr_llb}  
次の例は、 予測可能性の推定 ストアに[PredictabilityEstimate を使用する - submitTrainingJob()](https://servicenow-prod.fluidtopics.net/57paZuJ_FMhuOGsSAEvg0w#PrdctbltE-submitTrainingJob "トレーニングジョブを送信します。") して、ストアに追加した後にトレーニングジョブを実行します。

    // Create a dataset 
    var myData = new sn_ml.DatasetDefinition({

      'tableName' : 'incident',
      'fieldNames' : ['assignment_group', 'short_description', 'description'],
      'encodedQuery' : 'activeANYTHING'

    });

    // Create an estimate 
    var myEstimate = new sn_ml.PredictabilityEstimate({

      'label': "my estimate definition",
      'dataset' : myData,
      'predictedFieldName' : 'assignment_group',
      'inputFieldNames':['short_description']

    });

    // Add the estimate to the store to later be able to retrieve it.
    var my_unique_name = sn_ml.PredictabilityEstimateStore.add(myEstimate);

## PredictabilityEstimateStore - deleteObject(文字列名) {#ariaid-title3}

指定された予測可能性推定オブジェクトをストアから削除します。
{#PredictbltyEstStore-deleteObject_S__table_rmj_lfr_llb__entry__3}

| 名前 | タイプ | 説明 |
|-|-|-|
| name | 文字列 | [PredictabilityEstimate()](https://servicenow-prod.fluidtopics.net/57paZuJ_FMhuOGsSAEvg0w#PrdctbltE-PredictabilityEstimate_O "予測可能性の推定値を作成します。") 削除するオブジェクト。 の名前 |
[表 : 3. パラメーター]

{#PredictbltyEstStore-deleteObject_S__table_rmj_lfr_llb} {#PredictbltyEstStore-deleteObject_S__table_smj_lfr_llb__entry__2}

| タイプ | 説明 |
|-|-|
| なし |   |
[表 : 4. 返される内容]

{#PredictbltyEstStore-deleteObject_S__table_smj_lfr_llb}  
次の例は、ストアから予測可能性の推定を削除する方法を示しています。

    sn_ml.PredictabilityEstimateStore.deleteObject("ml_sn_global_global_estimate");

## PredictabilityEstimateStore - get(文字列名) {#ariaid-title4}

ストアから予測可能性の推定オブジェクトを取得します。
{#PredictbltyEstStore-get_S__table_zvw_v2r_llb__entry__3}

| 名前 | タイプ | 説明 |
|-|-|-|
| name | 文字列 | 店舗の予測可能性の推定値の名前。 |
[表 : 5. パラメーター]

{#PredictbltyEstStore-get_S__table_zvw_v2r_llb} {#PredictbltyEstStore-get_S__table_aww_v2r_llb__entry__2}

| タイプ | 説明 |
|-|-|
| オブジェクト | [予測可能性の推定](https://servicenow-prod.fluidtopics.net/57paZuJ_FMhuOGsSAEvg0w#PredictabilityEstimateAPI "PredictabilityEstimate API は、予測インテリジェンスストアで使用されるスクリプト可能なオブジェクトです。このオブジェクトは、データセットのフィールドがどの程度予測可能であるか、およびそれらのフィールドの予測に役立つ特徴量を示します。") オブジェクト。オブジェクトが存在しない場合はエラーを返します。 |
[表 : 6. 返される内容]

{#PredictbltyEstStore-get_S__table_aww_v2r_llb}  
次の例は、 get() メソッドを使用してストアから予測可能性推定オブジェクトを取得し、 [PredictabilityEstimate:getActiveVersion()](https://servicenow-prod.fluidtopics.net/57paZuJ_FMhuOGsSAEvg0w#PrdctbltE-getActiveVersion "アクティブを取得します PredictabilityEstimateVersion オブジェクト。") メソッドと [PredictabilityEstimateVersion - getStatus()](https://servicenow-prod.fluidtopics.net/xW6trorz1zyf3vD3yBCDfA#PredictbltyEstV-getStatus_B "トレーニング完了ステータスを取得します。") メソッドを使用してそのトレーニング状態を表示する方法を示しています。

    // Get status
    var mlEstimate = sn_ml.PredictabilityEstimateStore.get('ml_incident_categorization');

    gs.print(JSON.stringify(JSON.parse(mlEstimate.getActiveVersion().getStatus(), null, 2)));

出力：

    {
     "state":"solution_complete",
     "percentComplete":"100",
     "hasJobEnded":"true"
    }

## PredictabilityEstimateStore - getAllNames(オブジェクトオプション) {#ariaid-title5}

ストア内のすべての予測可能性推定定義レコードの名前を取得します。
{#PredictbltyEstStore-getAllNames__id_bfn_kwh_wnb__entry__3}

| 名前 | タイプ | 説明 |
|-|-|-|
| オプション | オブジェクト | 指定したプロパティ内で結果を制限するためのオプション。 { "label": "String", "domainName": "String", "scope": "String" }; |
| options.label | 文字列 | オプション。ソリューションオブジェクトのラベル。 |
| options.domainName | 文字列 | オプション。ソリューションオブジェクトのドメインの名前。参照先 [ドメインセパレーションと 予測インテリジェンス](https://www.servicenow.com/docs/access?context=domain-separation-predictive-intelligence&version=australia&pubname=australia-intelligent-experiences&ft:locale=en-US). |
| options.scope | 文字列 | オプション。ソリューションオブジェクトの [アプリケーションスコープ](https://www.servicenow.com/docs/access?context=c_ApplicationScope&version=australia&pubname=australia-application-development&ft:locale=en-US) の名前。 |
[表 : 7. パラメーター]

{#PredictbltyEstStore-getAllNames__id_bfn_kwh_wnb} {#PredictbltyEstStore-getAllNames__table_aww_v2r_llb__entry__2}

| タイプ | 説明 |
|-|-|
| アレイ | ストア内の予測可能性推定オブジェクト名を表す文字列のリスト。 |
[表 : 8. 返される内容]

{#PredictbltyEstStore-getAllNames__table_aww_v2r_llb}  
次の例では、 getAllNames() メソッドがストア内のすべての名前のリストを返します。

    gs.print(JSON.stringify(JSON.parse(sn_ml.PredictabilityEstimateStore.getAllNames()), null, 2));

出力：

    [
      "ml_x_snc_global_global_predictability_estimate_1",
      "ml_x_snc_global_global_predictability_estimate",
      "ml_x_snc_global_global_predictability_estimate_2",
      "ml_x_snc_global_global_my_estimate_definition"
    ]

次の例では、 getAllNames() メソッドは options パラメーターで設定された値に関連付けられた名前のみを返します。

    var options = {
      'label' : 'my estimate definition',
      'domainName' : 'global',
      'scope' : 'global'
    };
    var solNames = sn_ml.PredictabilityEstimateStore.getAllNames(options);
    gs.print(JSON.stringify(JSON.parse(solNames), null, 2));

出力：

    [
      "ml_x_snc_global_global_my_estimate_definition"
    ]

## PredictabilityEstimateStore - update(文字列名, オブジェクト mlEstimate) {#ariaid-title6}

店舗の予測可能性推定オブジェクトを更新します。
{#PredictbltyEstStore-update_S_O__table_v5p_wxr_llb__entry__3}

| 名前 | タイプ | 説明 |
|-|-|-|
| name | 文字列 | 更新する予測可能性の推定値の名前。 |
| mlEstimate | [予測可能性の推定](https://servicenow-prod.fluidtopics.net/57paZuJ_FMhuOGsSAEvg0w#PredictabilityEstimateAPI "PredictabilityEstimate API は、予測インテリジェンスストアで使用されるスクリプト可能なオブジェクトです。このオブジェクトは、データセットのフィールドがどの程度予測可能であるか、およびそれらのフィールドの予測に役立つ特徴量を示します。") | [PredictabilityEstimate()](https://servicenow-prod.fluidtopics.net/57paZuJ_FMhuOGsSAEvg0w#PrdctbltE-PredictabilityEstimate_O "予測可能性の推定値を作成します。") 更新するオブジェクトプロパティ。 |
[表 : 9. パラメーター]

{#PredictbltyEstStore-update_S_O__table_v5p_wxr_llb} {#PredictbltyEstStore-update_S_O__table_w5p_wxr_llb__entry__2}

| タイプ | 説明 |
|-|-|
| なし |   |
[表 : 10. 返される内容]

{#PredictbltyEstStore-update_S_O__table_w5p_wxr_llb}  
次の例は、ストア内の予測可能性推定オブジェクトを更新する方法を示しています。

    var estimateUpdate = new sn_ml.PredictabilityEstimate({
      'label': 'my estimate definition',
      'dataset' : myData,
      'predictedFieldName' : 'assignment_group',
      'inputFieldNames': ['short_description']
    });

    sn_ml.PredictabilityEstimateStore.update('ml_sn_global_global_incident_service', estimateUpdate);


