How to store word vectors embeddings? [closed] - deep-learning

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm very new to NLP and Deep Learning field and want to understand that after vectorization of a whole corpus using Word2Vec, Do I need to store the word vector values locally?
If yes I want to make a chatbot for android. Can anyone please guide me for this?

word2vec embeddings can be saved:
in first layers of your deep model. It's rare approach, because in this case you can't use this word2vec for other tasks.
as independent file on disk. It's more viable apporach for most use cases.
I'd suggest to use gensim framework for training of word2vec. Here you can learn more how to train word2vec and save them to disk: https://radimrehurek.com/gensim/models/word2vec.html
Particularly, saving is performed via:
model = Word2Vec(common_texts, size=100, window=5, min_count=1, workers=4)
model.save("word2vec.model")
Training of chatbot is much more difficult problem. I can try to suggest you a possible workflow, but you should to clarify what type of chatbot do you have in mind? E.g. should it answer on any question (open domain)? Should it generate answers or it will have predefined answers only?

Related

Interpret GAN loss [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am currently training the standard DCGAN network on my dataset. After 40 epochs, the loss of both generator and discriminator is 45-50. Can someone please explain the reason and possible solution for this?
This interpretation may be added to unsolved problems.
You cannot interpret the loss of generator and discriminator. Since when one improves it will be harder for the other. When generator improves it will be harder for the critic. When critic improves it will be harder for the generator.
The values totally depend on your loss function. You may expect that numbers should be "about the same" over time.

Pure Data for music composition? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I am currently working on a project where a Classical Music Generator is set to be built. A lecturer who is pretty much a expert in sound processing suggested that I could construct a Hidden Markov Model which will generate and return compositions.
There are already 80+ MIDI files from various renowned composers (Mozart, Bach, Beethoven...) in my computer ready for training. I just wonder will Pure Data be a suitable language for constructing HHM(s) which will finally return a generated music piece, from some MIDI inputs?
And if yes, any advice on how to utilise those MIDIs and put them into pieces for the HHM?
Thanks in advance.
Take a look at this library. It has HMM and a number of other machine learning algorithms that you could use.
https://github.com/cmuartfab/ml-lib
You can also use HMM for signal related tasks. There is a paper here that you may find informative:
http://tcts.fpms.ac.be/publications/papers/2013/dafx2013_mage.pdf

Are classes and structures both subsets of "records"? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm writing documentation for my AQA A-level Computing project. The project is a game which takes place in a Console application, which heavily depends on a series of classes and structures in a separate class library I have written. I don't know how to title the section in my documentation where I describe these classes and structures, and I'd like to know if there is a word that encompasses both concepts. Does the word "record" include both classes and structures, or is it tied to a specific implementation?
I'm aware that this is more English Language & Usage, but I thought it was more likely to get a response here where there are more programmers.
Yes, you could use the term record as objects/classes/structures are just differing types of records, or records with functions to handle the data in the record.
However, just to encapsulate all your possibilities, you should probably utilize the term Data Structure. I find that data structure is more common parlance than record.

Making my own Carbon Footprint Calculator [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I'm trying create my own carbon footprint calculator, but I'm having trouble finding all the proper equations and such online, anyone know of any decent resources?
Wow, that is a huge question. In part because "all the proper equations" really depend on who is doing the asking. I would start here: http://www.withouthotair.com/
This resource is HUGE for this. =)
I think this project sounds very interesting!
If you are familiar with web development, it would be very cool to make this a web-based project, which allows for constant growth and development of the equations. You could even make it so that users of your web site can view the equations you are using, and input their own equations. Maybe you could even consider some sort of mechanism to fold back user equations into the base - or set up multiple different bases for different users of different lifestyles.
I didn't directly answer your question, but I hope these concepts are interesting and useful to you.
-Brian J. Stinar-

looking for open source tools [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Do you know any tools available for the conversion of LAS (LIDAR data) into Voronoi diagrams or TIN (triangular irregular networks) available?
Or can anyone can suggest how to do it in arcgis?
LIDAR data processing with open source tools
This may help a bit. In ArcGIS, you can either use an actual TIN which is a file format, or you can use a Terrain which is better suited for high density point clouds such as LIDAR. It offers better performance over a TIN.
The Terrain can be used where you need a TIN.
Loading surface feature data points into a geodatabase
Instead of the ASCII tool shown in the above guide, you will need to use the LAS to Multiple tool.