shimshim46 / hft-cnn Goto Github PK
View Code? Open in Web Editor NEWConvolutional Neural Network based on Hierarchical Category Structure for Multi-label Short Text Categorization
Home Page: http://cl.cs.yamanashi.ac.jp/
License: MIT License
Convolutional Neural Network based on Hierarchical Category Structure for Multi-label Short Text Categorization
Home Page: http://cl.cs.yamanashi.ac.jp/
License: MIT License
when i run this mode, it throws the error that 'X_tst' 'Y_tst' not defined。 it should be 'x_tst' ,'y_tst' in cnn_train.py
Hello,
I am trying to do hierarchical multi-label text categorization. Do you think the methodology in this paper can be implemented for long text as well? I have collection of news articles which are at average 700 words in length and which have upto 8 labels. Do you think the methodology included in this paper by changing certain hyper parameters could be implemented?
执行命令的时候报错,报错内容如下:
Traceback (most recent call last):
File "train.py", line 207, in
main()
File "train.py", line 166, in main
y_pred = train_problem(current_depth="flat", upper_depth=None, class_num=len(learning_categories), fine_tuning=fine_tuning, embedding_weight=embedding_weight, input_data=input_network_data, model_type=model_type, learning_categories=learning_categories)
File "train.py", line 40, in train_problem
network_output = cnn_train.main(params)
File "E:\▒▒▒▒▒\▒▒▒▒▒▒▒\▒▒▒ܹ▒▒▒\HFT-CNN-master\cnn_train.py", line 121, in main
updater = MyUpdater(train_iter, optimizer, params["output_dimensions"], device=params["gpu"])
File "E:\▒▒▒▒▒\▒▒▒▒▒▒▒\▒▒▒ܹ▒▒▒\HFT-CNN-master\MyUpdater.py", line 36, in init
self.device = device
AttributeError: can't set attribute
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.