Exemplo n.º 1
0
                                           type_='table',
                                           description='number of NG output')
    manifest_genenerator.add_ait_downloads(name='Log', description='AIT_log')
    manifest_genenerator.add_ait_downloads(name='DeepLog',
                                           description='deep_saucer_log')
    manifest_path = manifest_genenerator.write()

# In[9]:

#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories(
        name='mnist_dataset', value='mnist_dataset/mnist_dataset.zip')
    input_generator.add_ait_inventories(name='mnist_model',
                                        value='mnist_model/model_mnist.zip')
    input_generator.set_ait_params(name='Lap', value='10')
    input_generator.set_ait_params(name='NumTest', value='500')
    input_generator.set_ait_params(name='mnist_type', value='train')
    input_generator.write()

# In[10]:

#########################################
# area:initialize
# do not edit
#########################################
Exemplo n.º 2
0
        name='metric_fairness_plot',
        type_='picture',
        description=
        'base rates polt of privileged_groups and unprivileged_groups')
    manifest_genenerator.add_ait_downloads(name='Log', description='AITLog')
    manifest_path = manifest_genenerator.write()

# In[9]:

#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories(name='Data',
                                        value='german_credit/german.csv')
    input_generator.set_ait_params(name='protected_attribute', value='age')
    input_generator.set_ait_params(name='privileged_classes', value='25.0')
    input_generator.write()

# In[10]:

#########################################
# area:initialize
# do not edit
#########################################

logger = get_logger()
Exemplo n.º 3
0
                                           description='Plot of actual values on the horizontal axis and predictions on the vertical axis. The more plots exist near the diagonal line, the better the prediction.')
    manifest_genenerator.add_ait_downloads(name='Log', 
                                           description='AIT_log')
    manifest_path = manifest_genenerator.write()


# In[9]:


#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories(name='trained_model',
                                        value='trained_model/model_2.h5')
    input_generator.add_ait_inventories(name='dataset_for_verification',
                                        value='dataset_for_verification/test_dataset.csv')
    input_generator.set_ait_params(name='target_variable',
                                   value='Happiness Score')
    input_generator.write()


# In[10]:


#########################################
# area:initialize
# do not edit
Exemplo n.º 4
0
                                          min='0')
    manifest_genenerator.add_ait_resources(name='pairplot',
                                           type_='picture',
                                           description='pairplot')
    manifest_genenerator.add_ait_downloads(name='Log', description='AIT実行ログ')
    manifest_path = manifest_genenerator.write()

# In[9]:

#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories(
        name='iris_data', value='iris_data/tableconvert_csv_4nryby.csv')
    input_generator.set_ait_params(name='mean_column_name',
                                   value='petal.width')
    input_generator.write()

# In[10]:

#########################################
# area:initialize
# do not edit
#########################################

logger = get_logger()
Exemplo n.º 5
0
    manifest_genenerator.add_ait_downloads(name='Log', description='AIT_log')
    manifest_genenerator.add_ait_downloads(
        name='each_label_accuracy', description='accuracy of each label')
    manifest_genenerator.add_ait_downloads(
        name='each_picture', description='predict of each picture')
    manifest_path = manifest_genenerator.write()

# In[9]:

#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories(
        name='trained_model_checkpoint',
        value='trained_model_checkpoint/trained_model_checkpoint.zip')
    input_generator.add_ait_inventories(
        name='trained_model_graph',
        value='trained_model_graph/trained_model_graph.zip')
    input_generator.add_ait_inventories(
        name='trained_model_protobuf',
        value='trained_model_protobuf/trained_model_protobuf.zip')
    input_generator.add_ait_inventories(
        name='test_set_images', value='test_set_images/test_set_images.zip')
    input_generator.add_ait_inventories(
        name='test_set_labels',
        value='test_set_labels/bdd100k_labels_images_val.json')
    input_generator.add_ait_inventories(
Exemplo n.º 6
0
        name='generated_paie_wise',
        type_='table',
        description='PICT generate pair-wise.')
    manifest_genenerator.add_ait_downloads(name='Log',
                                           description='AIT execute log')
    manifest_path = manifest_genenerator.write()

# In[6]:

#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories('pair_wise_model',
                                        'pair_wise_model/model.txt')
    input_generator.set_ait_params('order_combination', '3')
    input_generator.set_ait_params('seed', '25')
    input_generator.write()

# In[7]:

#########################################
# area:initialize
# do not edit
#########################################

logger = get_logger()
Exemplo n.º 7
0
    manifest_genenerator.add_ait_resources(
        name='DistributionPlot',
        type_='picture',
        description='Plot of percentage of various high risk cases in data')
    manifest_genenerator.add_ait_downloads(name='Log', description='AITLog')
    manifest_path = manifest_genenerator.write()

# In[6]:

#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories(name='Data',
                                        value='data/BDD_labels_2036.csv')
    input_generator.add_ait_inventories(
        name='High_risk_CA_combinations',
        value='HighRisk_CA_combinations/HighRisk_CA_combination_cases.csv')
    input_generator.write()

# In[7]:

#########################################
# area:initialize
# do not edit
#########################################

logger = get_logger()
Exemplo n.º 8
0
        description='the heat map of the coverage as an HTML file.')
    manifest_genenerator.add_ait_downloads(
        name='abs_dataset',
        description='the created input data by the manipulation as h5 file.')
    manifest_genenerator.add_ait_downloads(name='Log', description='AITLog')
    manifest_path = manifest_genenerator.write()

# In[9]:

#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories(
        name='image_data', value='MNIST_data/image/train-images-idx3-ubyte.gz')
    input_generator.add_ait_inventories(
        name='label', value='MNIST_data/label/train-labels-idx1-ubyte.gz')
    input_generator.add_ait_inventories(name='tf_ckpt', value='tf_ckpt')
    input_generator.set_ait_params(name='mnist_image_px_size', value='28')
    input_generator.set_ait_params(name='determination_on_activation',
                                   value='0')
    input_generator.set_ait_params(name='threshold', value='0.5')
    input_generator.set_ait_params(name='lower_bound', value='0.5')
    input_generator.set_ait_params(name='upper_bound', value='1')
    input_generator.set_ait_params(name='activation_filter_no', value='10')
    input_generator.set_ait_params(name='heat_map_type', value='1')
    input_generator.set_ait_params(name='combination_type', value='1')
    input_generator.set_ait_params(name='combination_first', value='4')
Exemplo n.º 9
0
    manifest_genenerator.add_ait_downloads(name='PredictionResult', 
                                           description='ID,正解ラベル,推論結果確率(ラベル毎)')

    manifest_path = manifest_genenerator.write()


# In[9]:


#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories(name='trained_model',
                                        value='trained_model/model_1.h5')
    input_generator.add_ait_inventories(name='test_set_images',
                                        value='test_set_images/t10k-images-idx3-ubyte.gz')
    input_generator.add_ait_inventories(name='test_set_labels',
                                        value='test_set_labels/t10k-labels-idx1-ubyte.gz')

    input_generator.set_ait_params(name='class_count',
                                   value='10')
    input_generator.set_ait_params(name='image_px_size',
                                   value='28')
    input_generator.set_ait_params(name='auc_average',
                                   value='macro')
    input_generator.set_ait_params(name='auc_multi_class',
                                   value='raise')
Exemplo n.º 10
0
        'Table of distribution for each combination')
    manifest_genenerator.add_ait_resources(
        'distibution_plot', 'picture',
        'Plot of distribution for each combination')
    manifest_genenerator.add_ait_downloads('Log', 'AITLog')
    manifest_path = manifest_genenerator.write()

# In[6]:

#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories('Data', 'BDD_data/BDD_labels_2036.csv')
    input_generator.set_ait_params('attribute_no', '7')
    input_generator.set_ait_params('dimension', '2')
    input_generator.write()

# In[7]:

#########################################
# area:initialize
# do not edit
#########################################

logger = get_logger()

ait_manifest = AITManifest()
Exemplo n.º 11
0
    manifest_genenerator.add_ait_resources(
        name='count_each_class',
        type_='picture',
        description='Total coverage for each classes.')
    manifest_genenerator.add_ait_downloads(name='Log', description='AITLog')
    manifest_path = manifest_genenerator.write()

# In[ ]:

#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories(
        name='images', value='train_images/train-images-idx3-ubyte.gz')
    input_generator.add_ait_inventories(
        name='labels', value='train_labels/train-labels-idx1-ubyte.gz')
    input_generator.set_ait_params(name='coverage_category', value='Area')
    input_generator.set_ait_params(name='interval', value='100')
    input_generator.set_ait_params(name='max_range', value='800')
    input_generator.write()

# In[ ]:

#########################################
# area:initialize
# do not edit
#########################################
Exemplo n.º 12
0
    manifest_genenerator.add_ait_resources(
        name='PercentagePlot',
        type_='picture',
        description='Plot of percentage of unsound cases in data')
    manifest_genenerator.add_ait_downloads(name='Log', description='AITLog')
    manifest_path = manifest_genenerator.write()

# In[6]:

#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories(name='ca_data',
                                        value='ca_data/ca_labels_2036.csv')
    input_generator.add_ait_inventories(
        name='Unsound_CA_combinations',
        value='Unsound_CA_combinations/unsound_CA_combination_cases.csv')
    input_generator.set_ait_params(name='PCA', value='Road type')
    input_generator.set_ait_params(name='PCV', value='Highway')
    input_generator.set_ait_params(name='SCA', value='Signal')
    input_generator.set_ait_params(name='SCV', value='Green')
    input_generator.set_ait_params(name='Combination_index', value='5')
    input_generator.write()

# In[7]:

#########################################
Exemplo n.º 13
0
                                           description='pairwise_matching_result')
    manifest_genenerator.add_ait_downloads(name='Log',
                                           description='AIT_run_log')
    manifest_path = manifest_genenerator.write()


# In[6]:


#########################################
# area:create input
# should edit
#########################################
if not is_ait_launch:
    from ait_sdk.common.files.ait_input_generator import AITInputGenerator
    input_generator = AITInputGenerator(manifest_path)
    input_generator.add_ait_inventories('pairwise_list','pairwise_list/Pairwise_list.csv')
    input_generator.add_ait_inventories('target','target/target.csv')
    input_generator.write()


# In[7]:


#########################################
# area:initialize
# do not edit
#########################################

logger = get_logger()