zoukankan      html  css  js  c++  java
  • 2rd jun :

    tfidf


    How to identify tractor from many sorts of cars , the method is to say it with capable of cultivating farmland . To find the character of it which others don't have is the main idea of tfidf .
    tf: Term frequency , are all character of the object .
    i : inverse , subtract .
    df: Document frequency , the common characters which every one has .
    All characters of the object subtract the common characters that everyone has , and the result we obtain is the characters only the obtain has . The unique characters can represent the object .

    package java project into runnable jar file


    To run the java project on the terminal , we have to finish following things firstly .

    • Package them into runnable jar files
    • execute jar file :
    java -jar filename.jar
    

    Obviously , the second step is too easy to mention it .Thus , the main work is packaging . There are two methods for packaging them .

    • Firstly , we use Export mean in Eclipse directly . It packaged successfully , but some errors occurs when executing . I will take care of them tomorrow .

    • Secondly , we use Maven to write the pom.xml , which contains detailed dependencies and package-plugins . We have to provide pom.xml when put them on the github , so writing pom.xml is not avoidable .

  • 相关阅读:
    FJNUOJ Yehan’s hole(容斥求路径数 + 逆元)题解
    FJNUOJ the greed of Yehan(最长路 + 权值乘积转化)题解
    BZOJ 2956 模积和
    BZOJ 2299 向量
    codeforces 718c Sasha and Array
    BZOJ 3747 Kinoman
    BZOJ 2431 逆序对数列
    BZOJ 3289 Mato的文件管理
    BZOJ 3781 小B的询问
    BZOJ 2038 小Z的袜子(hose)
  • 原文地址:https://www.cnblogs.com/cyno/p/4198931.html
Copyright © 2011-2022 走看看