Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
productcategorization
Advanced tools
This is a Node.js module that uses text classification ML model to classify texts into Ecommerce based categories, using a [product categorization API](https://www.productcategorization.com) service.
Readme
This is a Node.js module that uses text classification ML model to classify texts into Ecommerce based categories, using a product categorization API service.
It supports three Tiers or depth levels of categorization.
Tier 1 categories include:
Tier 2 includes 186 categories, whereas Tier 3 supports classification into one of possible 1113 categories.
npm i productcategorization
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://www.productcategorization.com/api/iab/gpt_category2.php',
'headers': {
'Content-Type': 'application/x-www-form-urlencoded'
},
form: {
'query': 'audi car'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
Product categorization is primarily used in online stores, to provide more detailed categorization of stores products, which leads to better searchability, filtering and improved conversions of the online store. Product categorization API can also be used in other settings, e.g. as part of internal or external apps/Saas websites.
The process of categorizing products is usually automated, using a machine learning model, due to sheer number of products that are available on online stores. E.g. Amazon sells more than 12 million products and if including Amazon Marketplace sellers, the number of products sold is over 300 million.
You can learn more about other use cases in this in-depth guide on product categorization.
If interested in possible product categories that one can use in this kind of classification, check out the taxonomy from Google: https://www.google.com/basepages/producttype/taxonomy.en-US.txt.
The API service also has an online dashboard version, which may be sometimes more conveninent and quicker than usage of API.
Here is an example screenshot:
Example output from Product Categorization API for "online puzzle":
{
"classification": [
{
"category": "Toys & Games",
"value": 0.9638764770961815
},
{
"category": "Baby & Toddler",
"value": 0.035059565554713144
},
{
"category": "Home & Garden",
"value": 0.0002963369659567312
},
{
"category": "Sporting Goods",
"value": 0.00023261258646299374
},
{
"category": "Apparel & Accessories",
"value": 0.0002154233610409791
},
{
"category": "Arts & Entertainment",
"value": 0.00006532454044944747
},
{
"category": "Animals & Pet Supplies",
"value": 0.000059422859421801474
},
{
"category": "Food, Beverages & Tobacco",
"value": 0.00002773526129753021
},
{
"category": "Hardware",
"value": 0.00002505846630513308
},
{
"category": "Vehicles & Parts",
"value": 0.000021958370880675152
},
{
"category": "Office Supplies",
"value": 0.00001764502356391286
},
{
"category": "Software",
"value": 0.000016447423481062168
},
{
"category": "Electronics",
"value": 0.000016334880730325363
},
{
"category": "Luggage & Bags",
"value": 0.00001318376032711391
},
{
"category": "Business & Industrial",
"value": 0.000012255740845011877
},
{
"category": "Health & Beauty",
"value": 0.000011468345231805086
},
{
"category": "Mature",
"value": 0.000009977075952148216
},
{
"category": "Furniture",
"value": 0.000008364040734807803
},
{
"category": "Religious & Ceremonial",
"value": 0.0000053440428514067635
},
{
"category": "Media",
"value": 0.0000046483939975945625
},
{
"category": "Cameras & Optics",
"value": 0.00000441620957481985
}
],
"language": "en"
}
API service accepts texts not only in English, but many other languages, including German, Italian, Spanish, Dutch, French and others.
IAB taxonomy: [https://www.iab.com/guidelines/content-taxonomy/)
Facebook Taxonomy: https://www.facebook.com/business/help/526764014610932
We convert images to text to be then used as classifier using OCR Software
Our product categorization API has been succesfully used to classify over 1 million top shopify stores in three Tiers of categorization.
Mathematical part from Mathe Nachhilfe Online
FAQs
This is a Node.js module that uses text classification ML model to classify texts into Ecommerce based categories, using a [product categorization API](https://www.productcategorization.com) service.
The npm package productcategorization receives a total of 0 weekly downloads. As such, productcategorization popularity was classified as not popular.
We found that productcategorization demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.