Posts

NLP for ChatBots : How to Train Simple Neural Networks for Sentiment Analysis

Image
Data File: D:/mystuff/comments.txt Data: i love you,pos i hate you,neg i kill you,neg i love to kill you,neg i admire you,pos import numpy as np from sklearn.feature_extraction.text import TfidfVectorizer def  tfidf(x):    vec = TfidfVectorizer()    vec.fit(x)    return vec.transform(x).toarray()  f = open('D:/mystuff/comments.txt') lines = f.readlines() text =[] y=[] for line in lines:   w = line.lower().strip().split(",")   text.append(w[0])   l=0   if w[1]=='pos':     l=1   y.append(l) X = tfidf(text) Y = np.c_[y] print(X) [[0. 0. 0. 0.861037 0. 0.50854232] [0. 0.90275015 0. 0. 0. 0.43016528] [0. 0. 0.861037 0. 0. 0.50854232] [0. 0. 0.50733821 0.50733821 0.62883263 0.29964212] [0.90275015 0. 0. 0. ...

Trainings of Machine Learning, Deep Learning, Artificial Intelligence

Youtube Channel :                                                Contact  6309613028 Sreeram Trainings --------------------------------------------------------------------------------------------------------------- 1. Machine Learning With Python scikit learn and TENSORFLOW See Content: https://docs.google.com/document/d/178a_aC4q1-oKRdxPhTIPshv_5bbfRpNeoRhNzUpX1S4/edit?usp=sharing 2. Natural Language Processing For ChatBots    <iframe width="560" height="315" src="https://www.youtube.com/embed/rJFFtA7xD3I" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> See Content: https://docs.google.com/document/d/1JEcUknAOQbzq05aIiOewDwTsLeaRQtGj0eRxjFlTFac/edit?usp=sharing   3. Artificial Intelligence With  Reinforcement Learning and Deep Reinforcemen...

Artificial Intelligence

Natural Language Processing

Deep Learning

Image
Deep Learning  By Bharat Sreeram: whatsapp: 6309613028 Deep Learning Session 1: https://register.gotowebinar.com/recording/169761692275062022  Deep Learning Session 2: https://register.gotowebinar.com/recording/7258036079617821453 Deep Learning Session 3: https://register.gotowebinar.com/recording/2545748045784130311 Deep Learning Session 4: Topic : Implementation of building and train a Simple neural network. https://register.gotowebinar.com/recording/8006219657435466754 Deep Learning Session 5: Topic : converting Simple neural network into Deep neural network and train the network https://register.gotowebinar.com/recording/7666410091490655500 Deep Learning Session 6: Topic : develop predict function for DNN,          predicting for new data.          testing accuracy https://register.gotowebinar.com/recording/1785324704657948936 Deep Learning Session 7: Topic : predicting diabetic status based on age weight height us...

Machine Learning

Image
Machine Learning By Bharat Sreeram Bharat Sreeram bsreeram.datascience@gmail.com sankara.deva2016@gmail.com 6309613028 -------------------------------------------------------------------- Machine Learning Session 1: Dec-5th-2018 https://global.gotomeeting.com/play/recording/d7c5c19ef6122846296292df6437e4f025f2e1393e60e72bfab1fd4ff97d26e3 Machine Learning Session 2: Dec-6th-2018 https://global.gotomeeting.com/play/recording/07314ce010d0ee64cebf32c399ab3993f05764ecd2c363c81a32e194b610ca6a notes: https://drive.google.com/file/d/1aVG9-No4h6fi8GY9QcZmwZe1IiVoL_CV/view?usp=sharing Machine Learning Session 3: Dec-10th-2018 https://global.gotomeeting.com/play/recording/19cafe83765b2160951e806110e6bbedbc17eaf227341c2477c73e4a400d276d Machine Learning Session 4: Dec-11th-2018 https://global.gotomeeting.com/play/recording/34593c679b22f3d51f22c1e61ad2c2f752a636c677d387d425cbc96e9f4cb654 notes: https://drive.google.com/file/d/1dH65bwfH-KgrfTzPNp8hIBy6nBn3SrDj/view...

Python numpy programming