Skip to content
Snippets Groups Projects
Unverified Commit 76368162 authored by Aghiles's avatar Aghiles Committed by GitHub
Browse files

Rename load_image() and load_freature() as load_visual_feature() (#371)

parent 17edd8e3
No related branches found
No related tags found
No related merge requests found
......@@ -62,8 +62,8 @@ def load_text():
return texts, ids
def load_image():
"""Load the item image in the form of visual features (extracted from pre-trained CNN)
def load_visual_feature():
"""Load item visual features (extracted from pre-trained CNN)
Returns
-------
......
......@@ -49,8 +49,8 @@ def load_feedback(reader: Reader = None) -> List:
return reader.read(fpath, fmt='UI', sep=',')
def load_feature():
"""Load the item visual feature
def load_visual_feature():
"""Load item visual features
Returns
-------
......
......@@ -26,7 +26,7 @@ from cornac.eval_methods import RatioSplit
# VBPR extends Bayesian Personalized Randing to leverage item visual features (extracted from product images using CNN)
# The necessary data can be loaded as follows
feedback = tradesy.load_feedback()
features, item_ids = tradesy.load_feature() # BIG file
features, item_ids = tradesy.load_visual_feature() # BIG file
# Instantiate a ImageModality, it makes it convenient to work with visual auxiliary information
# For more details, please refer to the tutorial on how to work with auxiliary data
......
......@@ -22,7 +22,7 @@ from cornac.eval_methods import RatioSplit
# The necessary data can be loaded as follows
feedback = amazon_clothing.load_feedback()
features, item_ids = amazon_clothing.load_image()
features, item_ids = amazon_clothing.load_visual_feature()
# Instantiate a ImageModality, it makes it convenient to work with visual auxiliary information
# For more details, please refer to the tutorial on how to work with auxiliary data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment