Git Product home page Git Product logo

madhu009 / deep-math-machine-learning.ai Goto Github PK

View Code? Open in Web Editor NEW
198.0 10.0 171.0 45.52 MB

A blog which talks about machine learning, deep learning algorithms and the Math. and Machine learning algorithms written from scratch.

Home Page: https://medium.com/deep-math-machine-learning-ai

Jupyter Notebook 99.87% Python 0.13%
machine-learning linear-regression tensorflow gradient-descent-algorithm logistic-regression support-vector-machines deep-neural-networks word2vec natural-language-processing reinforcement-learning-algorithms

deep-math-machine-learning.ai's People

Contributors

madhu009 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deep-math-machine-learning.ai's Issues

Issue in understanding the logic in "Deep-math-machine-learning.ai/NLP/Word2Vec"

Hi,
I have a doubt about one part (In 20). After training the model we are expecting line of code
trained_embeddings = embeddings.eval()
Why are we expecting that randomly initiated array will get updated when we are not even using it as an input.
please point out where I am wrong and correct it, as far as I know following code

loss = tf.reduce_mean(tf.nn.nce_loss(nce_weights, nce_biases, Y, embed, num_sampled, voc_size))
# Use the adam optimizer
optimizer = tf.train.AdamOptimizer(1e-1).minimize(loss)

it will update the nce_weights with each iteration not embedding matrix and why we would think it will get updated since we are not even using it at any input.

Thanks
Gagan

Top 10 Similar terms

Thank you firstly for the tutorial
I wanted to ask if it is possible to use the final embeddings to test out a word and return top 10 similar terms.

e.g

Top 10 Similar words given an input word

word="external"
word_vec = final_embeddings[dictionary[word]]
sim = np.dot(word_vec,-final_embeddings.T).argsort()[0:8]
for idx in range(8):
print (reverse_dictionary[sim[idx]])

CNN end to end

I tried the page at Meetups_Notebooks/CNN_End2End/CatsvsDogs.ipynb, but got an error while creating the function "convert_to_tflite". The error is thrown on this line...

converter = tf.contrib.lite.TocoConverter.from_frozen_graph(path+'frozen_catsVSdogs45.pb', ['Input'], ['Softmax']])

May be you have a extra "]" at the end after "softmax".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.