fd7b464bde98bab8d8ad1a0c4f2e43afdb6ff7e7,pliers/extractors/api/clarifai.py,ClarifaiAPIExtractor,__init__,#ClarifaiAPIExtractor#Any#Any#Any#Any#Any#,49
Before Change
self.max_concepts = max_concepts
self.select_concepts = select_concepts
if select_concepts:
select_concepts = listify(select_concepts)
self.select_concepts = [clarifai_client.Concept(concept_name=n)
for n in select_concepts]
super(ClarifaiAPIExtractor, self).__init__()
@property
def api_keys(self):
After Change
_env_keys = ("CLARIFAI_API_KEY",)
VERSION = "1.0"
def __init__(self, api_key=None, model="general-v1.3", min_value=None,
max_concepts=None, select_concepts=None, rate_limit=None):
verify_dependencies(["clarifai_client"])
if api_key is None:
try:
api_key = os.environ["CLARIFAI_API_KEY"]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: tyarkoni/pliers
Commit Name: fd7b464bde98bab8d8ad1a0c4f2e43afdb6ff7e7
Time: 2018-03-06
Author: quinten.mcnamara@gmail.com
File Name: pliers/extractors/api/clarifai.py
Class Name: ClarifaiAPIExtractor
Method Name: __init__
Project Name: stellargraph/stellargraph
Commit Name: cdcde873f7677a25d8c18124ef88a599f31ca7d9
Time: 2020-03-18
Author: Huon.Wilson@data61.csiro.au
File Name: tests/layer/test_attri2vec.py
Class Name:
Method Name: test_attri2vec_apply
Project Name: stellargraph/stellargraph
Commit Name: 3816c1f28f05290b6b5d87272c7e1a4df335c577
Time: 2019-05-29
Author: youph@users.noreply.github.com
File Name: demos/link-prediction/graphsage/cora-links-example.py
Class Name:
Method Name: train