• Go carbon version 1.3.3 has been released, adding the method of obtaining constellation and judging whether it is a constellation


    Carbon is a lightweight, semantic and developer friendly golang time processing library, which supports chain calls, lunar calendar, Gorm, xorm and other mainstream orm If you feel good, please give a star github:github.com/golang-module/carbon gitee:gitee.com/go-package/carbon Update log A constellation () method is added to obtain constellations, which supports multiple languages Add isXXX () series methods to […]

  • NLP – news text classification data reading and data analysis


    Data download Download data !wget https://tianchi-competition.oss-cn-hangzhou.aliyuncs.com/531810/train_set.csv.zip !wget https://tianchi-competition.oss-cn-hangzhou.aliyuncs.com/531810/test_a.csv.zip !wget https://tianchi-competition.oss-cn-hangzhou.aliyuncs.com/531810/test_a_sample_submit.csv Decompression data, including three files, training data_ set.csv ), test data (test_ a. The result is submitted to the sample file (test)_ A_ sample_ submit.csv ) !mkdir /content/drive/My\ Drive/competitions/NLPNews !unzip /content/test_a.csv.zip -d /content/drive/My\ Drive/competitions/NLPNews/test !unzip /content/train_set.csv.zip -d /content/drive/My\ Drive/competitions/NLPNews/train !mv /content/test_a_sample_submit.csv /content/drive/My\ Drive/competitions/NLPNews/submit.csv !mv /content/drive/My\ […]