원시데이터 수집 시스템
선정목록으로

CURRENT TRENDS IN RENEWABLE ENERGY: AN OVERVIEW

관련 패션 · (24) 패션(코오롱FnC)

기본 정보

저자
  1. Masood Ahma
DOI
10.5281/zenodo.1157238
저널
Zenodo (CERN European Organization for Nuclear Research)
발행년도
2017
발행기관
CERN European Organization for Nuclear Research
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://zenodo.org/record/1157238
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W4298188707

평가 내용

관련도
관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '패션 > 패션(코오롱FnC)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The renewables-based energy system represents a unique opportunity to meet climate goals while increasing economic growth, creating new employment opportunities and enhancing human welfare. Hence the role of renewable energy has been assuming increasing significance in recent times with the growing concern for the energy security. This paper overviews the current trends of renewable energy globally and particularly in India as well as their growth and environmental issues.

본문 33,395자

본문 펼치기
Electrical & Computer Engineering: An International Journal (ECIJ) Vol.6, No.3/4, December 2017 # USING MACHINE LEARNING TO BUILD A SEMI-INTELLIGENT BOT #### Ali Rahmani, Patrick Laffitte, Raja Haddad and Yassin Chabeb Research and development entity, Data Science team, Palo IT, Paris, France #### _ABSTRACT_ _Nowadays, real-time systems and intelligent systems offer more and more control interface based on voice_ _recognition or human language recognition. Robots and drones will soon be mainly controlled by voice._ _Other robots will integrate bots to interact with their users, this can be useful both in industry and_ _entertainment. At first, researchers were digging on the side of "ontology reasoning". Given all the_ _technical constraints brought by the treatment of ontologies, an interesting solution has emerged in last_ _years: the construction of a model based on machine learning to connect a human language to a knowledge_ _base (based for example on RDF). We present in this paper our contribution to build a bot that could be_ _used on real-time systems and drones/robots, using recent machine learning technologies._ #### _KEYWORDS_ _Real-time systems, Intelligent systems, Machine learning, Bot_ ### 1. INTRODUCTION We present here our contributions within Palo IT [17] for a year of research & development activities. The main part of the R&D entity works on Data Science trends and intelligent systems based on machine learning technologies. The aim of this project was to create a semi-intelligent bot. This bot must be able to analyse facts, reason and answer questions using machine learning methods. This paper aims to provide an overview on our work during this project. It consists of four parts. In the first part, we present the context of the project, the problematics, some related works, the objectives. In the second part, we present details of the tasks that we deal with during our research project. Tasks about the implementation and testing of different methods of text mining - by applying these methods on text data in French - and the test results are detailed in the third part of this paper. Finally, we concluded with our analysis of what we have acquired through this project and future scope. ### 2. GLOBAL OVERVIEW We present here the context, some related work, issues, and our objectives. 2.1. Context The amount of text data on the web, or stored by companies is growing continuously. In order to exploit this wealth, it is essential to extract knowledge from such data. The discipline dealing DOI : 10.14810/ecij.2017.6401 1 Electrical & Computer Engineering: An International Journal (ECIJ) Vol.6, No.3/4, December 2017 with this type of data is called "Text Mining" includes several issues such as search indexing of documents, summary generation, creation of bots, etc. The work done during our project is part of the enrichment of the Palo IT textual and data analysis research. It aims to create a semiintelligent bot. For this project an internal R & D was launched. This project " _PetiText_ " (translated _SmallText_ in English; petit=small) is based on the analysis and reasoning on short sentences to detect new facts and answer questions. It involves an analysis of data from text corpora which allows to: - extract targeted information, sorted and added value for companies using algorithms - search for similarities and identifying causal relationships between different facts - detect behaviours and intentions - answer questions of policy makers - guide the marketing action and set up alerts to devices. 2.2. Issues Faced with the growing demand of Palo IT customers to extract knowledge from their textual data, the _PetiText_ R & D project was launched. Indeed, these customers possess documents and tools for collecting reviews and customer complaints or employees. Hence the need to design and implement a tool for analysing this type of data. Text data poorly used by most companies, represent a wealth of information. Their analysis is a means of decision support and a strategic asset for companies. Study of Text Mining existing products shows a major flaw for processing text data written in French. This defect consists of the almost total absence of "open source" libraries incorporating the semantics of the French language. Indeed, unlike the English, we found that most libraries and tools used globally (as Clips [1], NLTK [2], etc.) to treat this type of problem are not reliable when it comes to deal in French documents. For these reasons it was decided to set up a new tool combining several text analysis methods that treats the French language, which allows the machine to reason as a little boy of two years. 2.3. Related works Some authors have proposed to deal with those issues by deep learning and ontology reasoning. It was the case of [14] Patrick Hohenecker and Thomas Lukasiewicz, from Department of Computer Science University of Oxford, _introduce a new model for statistical relational learning_ _that is built upon deep recursive neural networks, and give experimental evidence that it can_ _easily compete with, or even outperform, existing logic-based reasoners on the task of ontology_ _reasoning_ . Other authors recently have proposed in [15] a model that _builds an abstract_ _knowledge graph on the entities and relations present in a document which can then be used to_ _answer questions about the document. It is trained end-to-end: only supervision to the model is in_ _the form of correct answers to the questions_ . Thuy Vu and D. Stott Parker [16] _describe a_ _technique for adding contextual distinctions to word embeddings by extending the usual_ _embedding process — into two phases. The first phase resembles existing methods, but also_ _constructs K classifications of concepts. The second phase uses these classifications in_ _developing refined K embeddings for words, namely word K-embeddings_ . We propose to 2 Electrical & Computer Engineering: An International Journal (ECIJ) Vol.6, No.3/4, December 2017 complete these propositions with an approach to connect human language and knowledge bases (here we start with French but it must be same thing for other languages). 2.4. Objectives The aim of our project was to help in all the steps of creating a semi-intelligent bot. This bot will learn facts from existing textual resources by conducting a thorough analysis. It must then be able to deduce new facts and answer open questions. To achieve this, a combination of different methods of textual data analysis was used. These methods can be grouped in three axes: - Frequency analysis: using metrics based on the detection of global information and characteristics of a text (keywords, rare words, etc.). - Knowledge of analysis: based Keyword Analysis and Mapping of knowledge for a classification of subjects or knowledge extraction rules (logical rules). - Semantic Analysis: based on the analysis of the context and emotions to contextualize a given text. 2.5. Technological choices and human resources The "petiText" is a project that is part of Data Science Palo IT activities leaded by three PhDs: a data science expert as supervisor Mr. Patrick LAFFITTE, then Mrs. Raja HADDAD and Mr. Yassin CHABEB. Thanks to the wealth of existing libraries in python dedicated to machine learning, the choice of that language was obvious. Regarding data storage, we used ZODB (Zope Object DataBase) which is a hierarchical and object-oriented database. It can store the data as python objects. We used Gensim [3] and Scikit-learn [4] are two python libraries that implement various machine learning methods and facilitating the statistical treatment of data. These methods of learning and statistical data computations require considerable material resources: due to the volume of data to process and especially the time computations, therefore, two remote OVH machines were rented. These machines have the following configurations: Machine n°1: 8 CPUs, 16Gb of RAM and a GPU; Machine n°2: 16 CPUs and 128Gb of RAM. ### 3. TASKS CARRIED OUT During our project, we were able to participate in the implementation of several tasks on the textual analysis of sentences from corpus of documents to create an intelligent bot capable of answering questions in real-time interaction. The approach on which the bot was based would allow also to exploit 80% of stored data in some enterprises and generate a lot of hidden facts, this stored data is not exploited by the enterprises’ businesses. 3.1. Drawing conclusions from a set of sentences The objective of this set is to create and implement a formal logic model. This was achieved by combining the results of two tools. The first is used to apply a logical model to a set of sentences modelled as relationships between objects. These were extracted through the use of the second tool is the CoreNLP. Appendix A shows an example of application of our logic model on a set of sentences about the family universe/field/domain. 3 Electrical & Computer Engineering: An International Journal (ECIJ) Vol.6, No.3/4, December 2017 3.1.1. Building a logic model This model is based on interpreting the world as a set of facts, and every fact is the relationship between two or more objects. Knowing that the objects of a sentence are a fact (a relationship), it is sufficient to apply logical rules that we have defined to derive and generate new information between different objects. A simple example: ➢ Man is a creature. [Fact in input] ➢ John is a man. [Fact in input] ✓ John is a creature. [Generated fact] To extract new information from a given set of facts, we have implemented a set of logical rules. When a rule can generate a new fact (called conclusion), or a hypothesis. Each hypothesis can become a conclusion if new facts arrive and validate it. The logical rules that we have defined in this part: - Conclusions: - _If_ obj1 a obj2 _Then_ obj2 is part of obj1. - _If_ obj1 is obj2 AND obj2 is obj3, _Then_ obj1 is obj3. - _If_ obj1 is obj2 OR obj3, _Then_ obj1 is obj2 OR obj1 is obj3. - _If_ obj1 is obj2 OR obj3 AND obj2 is obj2-1 OR obj2-2 AND obj3 is obj3-1 OR obj32, _Then_ obj1 is obj2-1 OR obj2-2 OR obj3-1 OR obj3-2. - _If_ obj1 is obj2 OR obj3 AND obj2 is obj4 AND obj3 is obj5, _Then_ obj1 is obj4 OR obj5. - _If_ obj1 is obj2 AND obj3 is obj2, _Then_ obj1 AND obj3 are obj2. - The hypotheses: - _If_ obj1 is obj2 OR obj3 AND obj3 is obj2, _Then_ obj3 is probably obj1. - _If_ obj1 is obj2 OR obj3 AND obj4 is obj5 AND obj2 _Then_ obj4 is probably obj1. - _If_ obj1 is obj2 OR obj3 AND obj2 is probably obj4, _Then_ obj1 is probably obj4. 4 Electrical & Computer Enginee r r ing: An International Journal (ECIJ) Vol.6, No.3/4, Dec e mber 2017 r ing: An International Journal (ECIJ) Vol.6, No.3/4, Dec e 3.1.2. CoreNLP The construction of logic model s a syntactic and grammatical an a entitled CoreNLP [5] of Stanf o their basic form from plural o r overall structure of the sentenc e the turn of phrases. Figure 1 sh o edges represent the overall str u different words, and those in re d s from the input sentences needs first level of under s lysis. For this we used a natural language processi n rd University. CoreNLP fetches lemmas of word s r conjugation or grammatical declinations. It also analysing subject, verb, etc. It also acts as a pars e o ws an example of analysis of a sentence using Co r cture of the sentence, then the blue tags represe n , give the grammatical class of a word. s tanding from n g tool (NLP) , it identifies explains the e r adapting to r eNLP. When t lemmas of Figu r e 1. Example of CoreNLP analysis result 3.2. Recover Data (The scrap Web Scraping is a set of techni q goal is to transform the data retr i ing [6] with XPath [7]) q ues to extract the contents of a source (a website o eved for use: r other). The - For rapid integratio n - Or to store this data In this project we used this tec h definitions. This is to integrate t the meaning of words and phras e synonyms has emerged. To scra b This library allows python to document through the formulati o between applications (when API is not available). in data base to be analysed later. h nique (Web Scraping) to store a maximum of Fr e t he intelligent aspect to our bot. So that it can ans w nch-language er questions, ictionaries of e used XPath. ts, etc.) of a e s is very important, so the choice of web sites and d b ble definitions from various dictionaries of sites w e extract information (elements, attributes, comme n n of terms including - An axis (child or parent ) . - A node (name or type). - One or more predicates ( These definitions and synony m meaning of words and phrases i n ( optional). s have served as a learning base to allow the bo t t to learn the different contexts. 5 Electrical & Computer Engineering: An International Journal (ECIJ) Vol.6, No.3/4, December 2017 3.3. Develop statistical models and learning During this research project we have implemented and tested several models of text data as learning the TF-IDF, the word embeddings. The application of these two models to learn allowed us to have a clear idea about the use cases for each model. 3.3.1. TF-IDF The Extracting relevant information from textual sources based on statistical models. These are used to detect rare words (therefore the most significant), to eliminate less significant as stopwords that does not depend from the context. The most commonly used technique for this is the TF-IDF [8] (Term Frequency - Inverse Document Frequency). - f: The frequency of the term t in the document. - D: All documents. - N: Total number of documents in the corpus (N = | D |). - d: A document in all documents D. - t: A term in a document. 3.3.2. Word embeddings To build a learning model based on the word embeddings every sentence is converted into vector of real values. The application of a model based on the succession of several layers neural networks to detect semantics, contexts and relationships between them, and the classification of new texts through an unsupervised learning. To apply the word embeddings on a textual corpus we used different python libraries like: Gensim (Word embeddings) and Scikit-learn. They offer all necessary methods (Doc2Vec, word2Vec...). 3.3.3. TF-IDF versus Word embeddings We assessed the reliability of the two learning models cited earlier. This evaluation was to be applied on a data set (20 newsgroups) 20,000 items and categories 20 (1000 items per category). For this test, TF-IDF comes at a score of 58% while the word embeddings gives a score of 98%. This result supported our choice to use the word embeddings as a learning model for our bot. 6 Electrical & Computer Engineering: An International Journal (ECIJ) Vol.6, No.3/4, December 2017 ### 4. INTELLIGENT BOT To develop an intelligent (or semi-intelligent) bot that can analyse the facts, learn and answer questions, we combined the different parts detailed in the previous section. So, our bot combines between the quality of text processing, classical and machine learning logic (semantics). Our bot mainly combines three components: logic, semantics and training/learning base. The bot must be logical, intelligent, autonomous and must render services. In our case the services are to answer questions and generate different contexts, conclusions and assumptions from the facts given to enrich its knowledge base. Aside from the natural language processing that must be done automatically with the arrival of new developments, several challenges need to be resolved to reach reliable conclusions. 4.1. The logic The bot must be logical in its calculations and answers as a human, that's why a conventional logic model was developed. This model will allow to validate or not the facts that are available, based on the rules of the basic classical logic. This will argue about the facts and generate conclusions to be potentially added to the knowledge base of the bot. Before moving to the logical model, the facts, which are only phrases, must first be processed and decomposed by a natural language processing tool. Question complexity and execution time, the logic model is the simplicity of classical logic rules and is very fast because the facts are relatively simple sentences composed of a single verb, subject, complement, conjunction. 4.2. The basic knowledge and autonomy of the bot The knowledge base is made up of all findings and the operative events that are valid. It is enriched when the facts arrive and conclusions are generated. The bot is then autonomous and no longer depends on human intervention as textual data sources feed the bot with new facts. Figure 2 summarizes the developments of the validation process. It must still that moment to launch the bot the first time, he already has a basic knowledge they will need to make learning so he can detect and recognize the context and thus be able to work on developments that arrive. The bot will look like a man (boy) that reasons and learns so the most logical is from a knowledge base that is based on dictionary definitions (for each word, several definitions depending on context) and synonyms. These are collected by the Scraping technique from several specialized websites. The departure of the knowledge base contains 38,565 definitions of 226,303 words. Figure 2. New facts validation process 4.3. The intelligence Now that we have a logic model and an initial knowledge base, the challenge is to find a technique that will allow the bot to detect the context of new arriving facts and rank them, and this is exactly when the word embeddings is used. Recent Deep Learning idea is that the 7 Electrical & Computer Engineering: An International Journal (ECIJ) Vol.6, No.3/4, December 2017 approximate meaning of a word or sentence can be represented as a vector in a multidimensional space. The nearer vectors represent similar meanings. To do so, we used Gensim for Python designed to automatically extract topics Semantic documents, as efficiently as possible. Gensim is designed to process raw digital and unstructured text. The algorithms in Gensim, such as Latent Semantic Analysis, latent Dirichlet allocation and random projections, describe the semantic structure of documents. The latter is extracted by examining the statistical models of cooccurrences of words in a corpus of training documents. These algorithms are unsupervised, which means that no human input is required. The only input to these algorithms is the text document corpus for training the model. Gensim allows: - Collect and process semantically similar documents. - Analyse text documents for the semantic structure. - Making scalable statistical semantics. 4.3.1. Word Embeddings [9, 10] Word embeddings are one of the most exciting areas of research in the field of Deep Learning. A word embeddings WE: words → ℝn is a parameterized function that maps words in a certain language to high-dimensional vectors (100, 200 to 500 sizes). Essentially, each word is represented by a numerical vector. For example, we might find ( _poire_ means pear in French): - WE ("pair") = (0.2, -0.4, 0.7, ...) - WE ("paire") = (0.2, -0.1, 0.7, ...) - WE ("pear") = (0.0 - 0.3; 0.1, ...) - WE ("poire") = (0.1, -0.1, 0.2, ...) The purpose and usefulness of the word embeddings consist in grouping the vectors of similar words in a vector space. Mathematically, it detects similarities between different vectors. These are digital representations describing the characteristics of the word, such as context. The word embeddings has several variations including: - the Word2vec - the Doc2vec 4.3.1.1 Word2vec [11] Word2vec is a two-layer neural network that processes the text. The input to the network is a text corpus and its output is a set of vectors. These include semantic features to the words in the corpus. Word2vec is not a deep neural network in itself, but it is very useful because it turns text into digital form (vectors) that the deep networks can understand. Figure 3 summarizes the process used in word2vec algorithm. Words can be considered as discrete states, then simply search the transition probabilities between these states, such as, the probability that they occur 8 Electrical & Computer Enginee r r ing: An International Journal (ECIJ) Vol.6, No.3/4, Dec e mber 2017 r ing: An International Journal (ECIJ) Vol.6, No.3/4, Dec e e close vectors for the words in a similar context (p t of these words is similar). together. In this case we will ha v is close to 1, the more the conte x lus the cosine Figure 3. Description of steps word2vec (Gensim [3]) In the Mikolov [12] introducti o vector, represented by a column the vocabulary. The concatenat i predicting the next word in concatenation. o n about learning word2vec, each word is mapp e in a matrix. The column is indexed by the position o on, or the sum of the vectors is then used as a ch a a sentence. The Figure 4 gives an example d to a single o f the word in racteristic for of word2vec Figure 4. Word2vec example [12] If we take into consideration en o assumptions about the meaning used to establish an associatio n W('woman') - W('man') ≈ W('qu e ugh data, use and contexts, the word2vec can make of a word based on past appearances. These assu m of words with other words in terms of vectors. en') - W('king') very accurate ptions can be For example: 9 Electrical & Computer Enginee r ing: An International Journal (ECIJ) Vol.6, No.3/4, Dec e mber 2017 ing: An International Journal (ECIJ) Vol.6, No.3/4, Dec e Word2vec form words by othe r words it detects in the input corpus. Word2vec methods: includes two 1. Continuous Bag of W o rds model (CBOW): - The context (s u rrounding words) is used to predict the target word. 2. Skip-gram with negati v e sampling or skip-gram: - A word is use d - This method c a represent wor d to predict a target-context (surrounding words). n also work well with a small amount of training d a s or few sentences. ta. It can also Figure 5. Architecture of methods C BOW and Skip-gram. w(t) is the current word, w(t-1), w (t-2) ... are the BOW and Skip-gram. w(t) is the current word, w(t-1), w words surrounding the word 4.3.1.2 Doc2vec [13] Doc2vec (Paragraph2vec) cha n unsupervised learning of contin u as sentences, paragraphs or entir e ges the algorithm word2vec (generalization of w ous representations for blocks of most important k e ord2vec) for e ywords such documents. 10 Electrical & Computer Engineering: An International Journal (ECIJ) Vol.6, No.3/4, December 2017 Figure 6. Description of doc2vec [3] The Doc2vec realize a learning on a large set of documents, and creates a model of vector spaces. In this model, each document is a vector space composed by the vectors of words. Thus, to have the degrees of similarities, the method "most_similar ' uses the cosine between vectors, the higher the cosine is close to 1, the higher the similarity is high. Figure 6 illustrates the steps of unwinding the doc2vec algorithm. To apply Doc2Vec, two methods can be used: - distributed memory model (DM) - distributed bag of words (DBOW) a. Distributed memory model (DM) It considers the vector of paragraph with the vectors of paragraph words (Word2vec) to predict the next word in a text. Using this distributed memory model (DM) comprises: - Randomly assign a paragraph vector for each document. - Predict the next word using the context of the word + the paragraph vector. - Drag the window contexts on the document while the paragraph vector is fixed (therefore distributed memory) Figure 7 illustrates the operation of distributed memory model. 11 Electrical & Computer Enginee r r ing: An International Journal (ECIJ) Vol.6, No.3/4, Dec e mber 2017 r ing: An International Journal (ECIJ) Vol.6, No.3/4, Dec e Figure 7. DM model doc2vec [12] b. DBOW: Distributed Bag Of w This method (DBOW) ignores t words in a small window. This m the Skip-gram word2vec [12]. T of the two methods _DM + DBO_ _W_ As shown in Figure 8, the DBO W ords he context words at the entrance. One paragraph v e ethod requires less storage and it is very similar to t his method is less efficient than DM. However, th e e ctor predicts t he method of combination is the best way to make a Doc2vec. method involves: - Using only pa r - Taking a win d using paragrap h agraphs vectors (No word2vec). ow of words in a paragraph and random predict what word s vectors (ignoring word order). F igure 8. DBOW model doc2vec [12] 4.4. Tests and applications As part of the project " _PetiTex_ _t_ definitions, when each definitio model using the method DBO W and returns the tag definitions h a _t_ " the doc2vec model is built from all available d n is tagged with a word. We proceed to the const r . To assign a tag to a new definition, the model in f ving the highest cosine. ictionaries of r uction of the ers the vector 12 Electrical & Computer Enginee r ing: An International Journal (ECIJ) Vol.6, No.3/4, Dec e mber 2017 ing: An International Journal (ECIJ) Vol.6, No.3/4, Dec e 4.4.1. Learning time et scores With a machine having 16 CP U definitions of 226,303 words v generated vectors and the numb e Table 1 shows the results of dif f quality are proportional to the n results are obtained with 200 it e of the score according to the nu m s and RAM 128Gb, the learning period of the mo d aries proportionally to the model parameters, th e r of iteration of learning. el on 38,565 e size of the erent tests we performed. We note that the learnin g umber of iterations of the algorithm. We also fin d rations and vectors of size 200. Figure 9 illustrates g time and its that the best the evolution ber of iterations. Table 1. Overv i ew of learning times and scores of different models. <u>Size vectors</u> <u>100</u> <u>100</u> <u>100</u> <u>200</u> <u>200</u> <u>200</u> Figure 8. Scores obtained a <u>Iterations</u> <u>Learning Time</u> <u>Score</u> <u>50</u> <u>8 min.</u> <u>77%</u> <u>100</u> <u>16 min.</u> <u>79%</u> <u>200</u> <u>32 min.</u> <u>80%</u> <u>50</u> <u>9 min.</u> <u>74%</u> <u>100</u> <u>17 min.</u> <u>80%</u> <u>200</u> <u>32 min.</u> <u>84%</u> a ccording to the size of the vectors and the number of ite r ations 4.4.2. Assignment example of a Considering the example of a fa m tag to a new sentence ily word definition: [ 'Genera t ion', 'successive', 'down', 'ancestor', 'lined'] The sentence has been normali z words are lemmatized. The vector inferred by the mode l ed by removing stop-words, verbs are put in the infinitive and 13 parameter vector size 200 corresponds to: Electrical & Computer Enginee r r ing: An International Journal (ECIJ) Vol.6, No.3/4, Dec e mber 2017 r ing: An International Journal (ECIJ) Vol.6, No.3/4, Dec e 0 32e-02 4.33574356e-02 -9.83970612e-02 2.55723 8 85913542e-02 02--5.09732738e...] t different models have found by calculating the c o [-2.53752857e-01 -2.71043 0 8 94e-01 7. The Figure 9 shows the tags th a the inferred vector of the previ o space model. sine between in the vector us sentence, and the vectors of all the definitions Figure 9. Search results on the context of the preceding sentence regarding the word family the context of the preceding sentence regarding the word For this example, we notice that and 200 are the best performer s "family" that corresponds to the Figure 10 is a screenshot of ou r universes/contexts: family, abstr Then, we choose the family defi n Fact 1: a person is a man or a w o Fact 2: a woman is female … In Figure 11, the bot starts rea s hypothesis Generated fact 1: parents and ki d Generated fact 2: a father is a m a … The same process was tested i n the bottom of the screen. the models having size vectors 200 and number of , since they have been the only ones that have re t definition of the input sentence. iterations 100 urned the tag first bot prototype. It is a French PetiText reason e act objects, biological organisms. e r about three n ition context then we list facts that we give to the b man ot. oning on the facts in the order and generating co n clusions and s are parts of the same family a le real-time interaction and it works, we can also a d d new fact in 14 Electrical & Computer Engineering: An International Journal (ECIJ) Vol.6, No.3/4, December 2017 Figure 9. First and second screens of bot prototype Figure 11. Reasoning screen ### 3. CONCLUSIONS We have presented here the different steps and tools combined in order to build a semi-intelligent bot based on machine learning technologies. With a solid foundation of learning, a logic model, a 15 Electrical & Computer Engineering: An International Journal (ECIJ) Vol.6, No.3/4, December 2017 word embeddings with good scores (≈ 84%) and improvements in current and future, we hope to combine the three parts in order to have a functional bot. We use advanced tools and technologies, they are very recent and widespread on the Data Science: the python programming language, jupyter notebook for a complete development environment, Gensim for word embeddings, and advanced tools for natural languages processing such as Clips and CoreNLP Stanford. During the project, we have used namely the methods of classification and clustering, Data Mining and Text Mining, Sentiment Analysis, and evaluations of the quality of classifiers (Reminder, Precision, F-Measure). Then come the current systems, languages and paradigms for Big Data and Advanced Big Data Analytics, that showed us especially the world of Big Data, many use cases and market opportunities. We have tested some big data architectures, including Hadoop and Spark with Python languages, Java and Scala. As the subject of the project is part of the R&D activities, the ultimate goal was clear and understandable, but in practice, problems on understanding how to achieve the objectives arise. Indeed, understanding how to get the value and signification of a text is not easy. Then follows the difficulty of understanding the functioning of the used methods, which algorithms to use and when to use it. Development work and tests, reading papers and publications of other researchers, and the documentation, all that was done in order to understand the subject, to progress and have good results (≈ 84%), it was not the case at the beginning (≈ 60%). After months of data processing (scraping, natural language processing, data cleaning, data standardization...) and the development of logic and learning models (Word embeddings), the first results / satisfactory scores were obtained. Now, we plan to make improvements and use of new techniques for the coming months. We will use LSTM (Long Short-Term Memory), an architecture of recurrent neural networks (RNN) which should further improve the quality of prediction and classification. We plan also to finalise the integration of the bot within a Parrot drone that we controlled by voice thanks to a previous research project in order to complete a global interactive real-time interface between human and drones/robots [18] ### ACKNOWLEDGEMENTS We like to thank everyone that helped us during the current year. REFERENCES [1] CLiPS, https://www.clips.uantwerpen.be/PAGES/PATTERN-FR. [2] NLTK, http://www.nltk.org/ [3] Gensim, https://radimrehurek.com/project/gensim/ [4] Scikit learn, http://scikit-learn.org/stable/ [5] CoreNLP, https://stanfordnlp.github.io/CoreNLP/ [6] Web scraping, https://www.webharvy.com/articles/what-is-web-scraping.html [7] XPath, https://www.w3.org/TR/1999/REC-xpath-19991116/ [8] TF-IDF, http://www.tfidf.com/ 16 Electrical & Computer Engineering: An International Journal (ECIJ) Vol.6, No.3/4, December 2017 [9] Quoc V. Le & Tomas Mikolov (2014) Distributed Representations of Sentences and Documents. CoRR abs/1405.4053 [10] Word-Embeddings, http://sanjaymeena.io/tech/word-embeddings/ [11] Word2vec and Doc2vec, http://gensim.narkive.com/RavqZorK/gensim-4914-graphic-representations of-word2vec-and-doc2vec [12] Quoc V. Le & Tomas Mikolov (2014) Distributed Representations of Sentences and Documents. CoRR abs/1405.4053 [13] Representations of word2vec and doc2vec, http://gensim.narkive.com/RavqZorK/gensim-4914 graphic-representations-of-word2vec-and-doc2vec [14] Patrick Hohenecker, Thomas Lukasiewicz (2009) “Deep Learning for Ontology Reasoning”, CoRR abs/1705.10342 [15] Trapit Bansal, Arvind Neelakantan, Andrew McCallum, (2017) “RelNet: End-to-end Modeling of Entities & Relations”, University of Massachusetts Amherst, CoRR abs/1706.07179. [16] Thuy Vu & Douglas Stott Parker, (2016) “$K$-Embeddings: Learning Conceptual Embeddings for Words using Context”, HLT-NAACL, pp 1262-1267 [17] Palo IT, http://palo-it.com/ [18] Voice IT, https://github.com/Palo-IT/voice-IT AUTHORS Ali Rahmani, data engineer, Palo IT Patrick Laffitte, PhD and data science expert, Palo IT Raja Haddad, PhD and data scientist, Palo IT Yassin Chabeb, PhD, R&D Consultant, Palo IT 17

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.