Feature Hashing Related-1

Source: Internet
Author: User

A classic way to consider a typical text categorization is to

??

    1. Participle, scan all features, create a feature dictionary
    2. Re-scan all features, use feature dictionaries to map features to feature space numbers to get eigenvectors
    3. Learning Parameters W
    4. Storage Learning parameter W, storage feature mapping dictionary
    5. Predictive truncation Load Learning parameter w, load feature map dictionary
    6. Scan data, map all features using feature map dictionaries to feature space numbers to get eigenvectors
    7. Using the Learning parameter w to predict the dot product of the obtained eigenvector

??

??

What do Feature hashing do?

Without the use of the feature dictionary, you do not have to consider the extra space of the storage dictionaries and hash the features directly.

A conflict? It will show that the effect is not very significant!

??

??

??

With the same memory footprint we can store more weights!

? ?

Feature Hashing Related-1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.