Saturday 29 July 2023

wordEmbeddingLayers() available in Deep Learning Toolbox?

Hello,
 
trying to run the "Deep Beer Designer", I got stuck on the use of wordEmbeddingLayer() which is flagged as an unknown function.
The reason is probably that I am still on Matlab and Deep Learning Toolbox (DLT) R2018b, but it is not quite clear if wordEmbeddingLayers should or should not be available in this release.
There are several Examples in the R2018b DLT Help which use it, but they do say that the Text Analytics Toolbox (TAT) has also been used (which is a little bit uncool, IMO :-)) .
The "List of Deep Learning Layers" in the R2019 DLT Help says "wordEmbeddingLayer (Text Analytics Toolbox™)"
(so why is it listed in the DLT at all?)
Moreover: the Release Notes for the R2018b DLT (both in the Help and online) under "Deep Learning: New network layers" state, somewhat confusingly, that
"You can now use the following layers in deep learning networks:
wordEmbeddingLayer
..."
but with no mention of the need for the TAT. Clicking the link of this layer then results in "Page not found"...
Was this layer type perhaps originally available in the DLT but later moved to the TAT?
Finally, if this wordEmbeddingLayer is really available only in the TAT, are there any "work-arounds" or replacements which would work in the R2018b DLT, without the need for the TAT?
 

Answer:

The wordEmbeddingLayer class is part of Text Analytics Toolbox and was introduced in release R2018b.
Perhaps that blog post should have mentioned that both Text Analytics Toolbox and Deep Learning Toolbox were required to run the examples it contains. IMO one of the purposes of some of the posts on the MathWorks blogs and some of the examples included as part of the documentation is to show how two or more of our products can work together to solve a problem that doesn't necessarily squarely fall into one or the other of those products' areas of focus.
 
There are several Examples in the R2018b DLT Help which use it, but they do say that the Text Analytics Toolbox (TAT) has also been used (which is a little bit uncool, IMO :-)) .
So should every layer suitable for use with Deep Learning Toolbox ship as part of that toolbox? If the wordEmbeddingLayer class uses functionality from Text Analytics Toolbox that is not directly related to the network architecture, should those functions also be included in Deep Learning Toolbox instead of or in addition to Text Analytics Toolbox? How about (looking at the list from release R2018b) the dozen or so layers that are part of Computer Vision System Toolbox? How much of that toolbox should be shipped as part of Deep Learning Toolbox in addition to being shipped as part of Computer Vision System Toolbox?
If you look at the list in the most recent release even more products are shipping layers that are compatible with the infrastructure in Deep Learning Toolbox: Lidar Toolbox, Computer Vision Toolbox, Text Analytics Toolbox, Reinforcement Learning Toolbox, Signal Processing Toolbox, Wavelet Toolbox, and Image Processing Toolbox.
 
The "List of Deep Learning Layers" in the R2019 DLT Help says "wordEmbeddingLayer (Text Analytics Toolbox™)"
(so why is it listed in the DLT at all?)
Because it is a layer that can be used with the infrastructure that is part of Deep Learning Toolbox to create deep learning models.
 
Finally, if this wordEmbeddingLayer is really available only in the TAT, are there any "work-arounds" or replacements which would work in the R2018b DLT, without the need for the TAT?
It is possible to define custom deep learning layers. I'm not sure how involved it would be to create a layer that's the equivalent of wordEmbeddingLayer.

 

for other assignment help please visit this site:

  1. matlabhelpers
  2. matlabsolutions
  3. programmingshark

SEE COMPLETE ANSWER CLICK THE LINK


Wednesday 13 April 2022

ATS के हाथ लगा मुर्तजा का डोंगल:इसी से विदेशों में आतंकी संगठन से करता था संपर्क, अब खुलेगा दहशतगर्द का हर राज़

 गोरखनाथ मंदिर की सुरक्षा में तैनात PAC जवानों पर हमला करने वाले अहमद मुर्तजा अब्बासी के कमरे से ATS ने उसका वो डोंगल बरामद कर लिया है, जिसके जरिए वह विदेश में बैठे अपने आकाओं के संपर्क में था। कमरे की अलमारी में छिपाकर रखे गए डोंगल को बरामद कर अब ATS डोंगल के IP एड्रेस (इंटरनेट प्रोटोकॉल) के जरिए उसके आतंक के राज का पर्दाफाश करने में लगी है।

फिलहाल ATS उसे गोरखपुर में ही रखकर पूछताछ कर रही है, साथ ही उसे लेकर उसके सभी ठिकानों की भी छानबीन कर रही है, जहां वह घटना के पहले गया था। मुर्तजा अभी 16 अप्रैल की दोपहर 12 बजे तक ATS की रिमांड पर ही रहेगा।

मुर्तजा अभी 16 अप्रैल की दोपहर 12 बजे तक ATS की रिमांड पर ही रहेगा।
मुर्तजा अभी 16 अप्रैल की दोपहर 12 बजे तक ATS की रिमांड पर ही रहेगा।

ATS को है ठोस सबूत का इंतजार!
वहीं, ATS अब तक मुर्तजा के संपर्क में रहे लोगों और उसके परिवार के बयानों के साथ ही मुर्तजा के बयान की कड़ियां भी जोड़ने लग गई है। ताकि जल्द से जल्द वह किसी नतीजे तक पहुंच सके। हालांकि सूत्रों का दावा है कि मुर्तजा ने अपने गुनाह तो कबूल कर लिए हैं, उसके पास से ATS को कई सबूत भी हाथ लगे हैं।

फिलहाल ATS के हाथ कोई ऐसा ठोस सबूत और गवाह हाथ नहीं लगा है, जिससे उसके आतंकी कनेक्शन को साबित किया जा सके। ATS उसके संपर्क में रहे लोगों को भी हिरासत में लेकर भी पूछताछ कर रही है।

ATS को जल्द ही मुर्तजा के पास से बरामद मोबाइल, लैपटॉप और अन्य चीजों की फॉरेंसिक रिपोर्ट भी मिल जाएगी।
ATS को जल्द ही मुर्तजा के पास से बरामद मोबाइल, लैपटॉप और अन्य चीजों की फॉरेंसिक रिपोर्ट भी मिल जाएगी।

बयानों की कड़ियां जोड़ रही ATS
इतना ही नहीं, ATS को जल्द ही मुर्तजा के पास से बरामद मोबाइल, लैपटॉप और अन्य चीजों की फॉरेंसिक रिपोर्ट भी मिल जाएगी। इससे इस केस की ​कड़ियां जुड़ने में मदद मिल सकती हैं। वहीं, दूसरी ओर मुर्तजा के माता- पिता से ATS की दूसरी टीम लखनऊ में पूछताछ कर रही है। अब ATS टीम अब तक सामने आए बयानों और सबूतों का मिलान कर किसी निष्कर्ष तक पहुंचने में लगी है। हालांकि अगर 16 अप्रैल तक इस मामले की जांच पूरी नहीं हुई तो ATS एक बार फिर कोर्ट में मुर्तजा की पुलिस रिमांड बढ़ाने की अर्जी दे सकती है। जबकि पूरी उम्मीद है कि इसी दौरान ATS मुर्तजा के खिलाफ ठोस सबूत जुटाकर कोर्ट में पेश कर देगी।

ATS के इन सवालों का जवाब नहीं दे पा रहे पिता
सूत्रों का दावा है कि रिमांड के दौरान सिर्फ मुर्तजा ही नहीं बल्कि उसका पूरा परिवार टूटता हुआ नजर आ रहा है। अब तक अपने बेटे को मानसिक रूप से बीमार बताने वाले मुर्तजा के पिता मुनीर अब्बासी भी यह स्वीकार रहे हैं कि उनका बेटा पूरी तरह से कट्टर हो चुका था। इसकी वजह से वह समाज से अलग रहता था और अकेले रहने की वजह से ही उसने यह बड़ा कदम उठा लिया।

लेकिन जब ATS टीम मानसिक रुप से बीमार बेटे के बैंक खातों में करीब 20 लाख रुपए रखने, उसे देश भर में हवाई यात्राएं कराने और विदेश भेजी गई रकम के बारे में सवाल कर रही है तो वे खामोश हो जा रहे हैं। फिलहाल तर्क देने के अलावा उनके पास इन सवालों के कोई ठोस जवाब नहीं हैं।

घायल पुलिस वालों से भी होगा मुर्तजा का आमना- सामना
इतना ही नहीं, हमले में घायल दोनों पुलिस वाले मंगलवार की शाम BRD मेडिकल कॉलेज से डिस्चार्ज होकर घर चले गए। सूत्रों का दावा है कि जल्द ही ATS हमले में घायल पुलिस वालों का मुर्तजा से आमना-सामना करा सकती है। ताकि मुर्तजा और उसके परिवार के बयानों, CCTV फुटेज और चश्मदीदो के बयानों की कड़ियां जोड़ी जा सकें।




मुर्तजा और परिवार से जुड़े हर एक की निकाली जा रही कुंडली
इस मामले की जांच कर रही ATS मुर्तजा और उसके परिवार से जुड़े हर एक की कुंडली खंगालने में लगी है। ATS यह भी जानना चाहती है कि पिता के रैंकिंग की प्रताड़ना के दावों के अलावा ऐसी क्या वजह हो सकती है, जिससे कि मुर्तजा पढ़ाई छोड़ देश विरोधी गतिविधियों में शामिल हो गया। सूत्रों का दावा है कि ATS अब तक इस केस में 50 से अधिक लोगों के बयान ले चुकी है।

wordEmbeddingLayers() available in Deep Learning Toolbox?

Hello,   trying to run the  "Deep Beer Designer" , I got stuck on the use of  wordEmbeddingLayer()  which is flagged as an unknown...