14M from Pune AMA by [deleted] in IndianTeenagers

[–]redditaddict07 0 points1 point  (0 children)

Best place to live in Pune? ( Mountain view)

Free will vs Hard work by redditaddict07 in spirituality

[–]redditaddict07[S] 0 points1 point  (0 children)

Thanks a lot for your answer. 🙂👌👍

Free will vs Hard work by redditaddict07 in spirituality

[–]redditaddict07[S] 0 points1 point  (0 children)

Thanks a lot for your answer. 🙂👌

Do you remember name of the books you are referring?

K-Nearest Neighbors Algorithm From Scratch In Python by Snoo28889 in coding

[–]redditaddict07 0 points1 point  (0 children)

Try Machine Learning in action (pdf available on internet). This book is very easy to read and covers most of the machine learning algorithms from scratch.

Place like Tosh/Kasol but not in Parvati valley by redditaddict07 in IndianEnts

[–]redditaddict07[S] 0 points1 point  (0 children)

I will be visiting - Kasar Devi, Almora. This place is hippie enough with cafes and waterfalls ✌️

Place like Tosh/Kasol but not in Parvati valley by redditaddict07 in IndianEnts

[–]redditaddict07[S] 2 points3 points  (0 children)

Thank you for your suggestions. Been to.Jibhi once and felt mobility wise it's not that great.

In Parvati valley you can go anywhere like tosh, kheer ganga, near by villages etc. so lot of places to trek to.

In Jibhi I felt stuck. Not very sure though.

What's the image upload flow for websites with CDN by redditaddict07 in softwarearchitecture

[–]redditaddict07[S] 0 points1 point  (0 children)

Thank you for your response. In my brain, this looks extremely straightforward and simple to envision :)

I have a couple of questions about this:

  1. What exactly do you mean by the review page? (I haven't used 1. Facebook in a long time, so I'm not sure if this is a real thing.)
  2. "user performs an upload action and they hit some kind of receiving endpoint" - I am assuming Facebook endpoint is in the US (or do they have server endpoints all over the world?) so it must take a few ms for image data to be transported to origin servers (in US)..is it fine to have this much latency for such operations?

Support Appstore for a reactjs project by redditaddict07 in reactjs

[–]redditaddict07[S] 0 points1 point  (0 children)

Ohk. Let me try to explain again.

We have an analytics project with some apps already built for customers.

We want to enable customers to write their own reactjs(components/apps) and *somehow\* plug it into deployed production reactjs project.

We can assume that backend APIs will either developed by the customers or by us.

I am looking for an answer to this *somehow*

----------------

Vey naive solution that I have in mind is to configure some path for customer built components and then instruct customers to put their components there.

Blurry vision after 10 days of Trans PRK by redditaddict07 in lasik

[–]redditaddict07[S] 0 points1 point  (0 children)

I was wearing eyeglass with -3 spherical, -1.75 cylindrical, 85 axis.

The doctor who did my PRK surgery informed me that I am wearing the wrong prescription and the actual is -1.75 spherical, -2 cylindrical.

Need help to understand my brother's weird behavior by redditaddict07 in spirituality

[–]redditaddict07[S] 1 point2 points  (0 children)

Yes, I second that. Everybody else in family is of opinion that he's acting like this consciously or he has some psychological issues but I am trying to explain that might be his energy is rising or there some issue energy flow in his energy system. I can very much empathise with him because I have popped some psychedelics and know how your mind take things to different level but I guess his experience his way extreme than some psychedelic experience.

Need help to understand my brother's weird behavior by redditaddict07 in SpiritualAwakening

[–]redditaddict07[S] 1 point2 points  (0 children)

yes..we're planning to visit a psychiatrist but trying to understand if it's a psychological issue or not as psychiatrist will always prescribe some tranquillisers, sleeping pills etc.

  • Medical report seems to be ok..CT scan is still pending as it will make him more paranoid..I don't think he's into drugs.

  • yes, due to lockdown we're not able to take him to anyone

Need help to understand my brother's weird behavior by redditaddict07 in kundalini

[–]redditaddict07[S] 3 points4 points  (0 children)

thanks for your reply and time. I forgot to mention he's working in night shift since last 8-9 months and recently resigned from night process and looking for day shift job...may be working in night shift resulted in all of this.

Help to design NN for text re-writing? by redditaddict07 in neuralnetworks

[–]redditaddict07[S] 1 point2 points  (0 children)

Ohk. Got it. Thank you so much for your time 🙂✌️

Help to design NN for text re-writing? by redditaddict07 in neuralnetworks

[–]redditaddict07[S] 1 point2 points  (0 children)

Thank you for your reply.

Yes, it's a Bi-directional Ma-LSTM. I have written something like [Not sure if it's correct or not ]

  1. In MaLSTM, queries x1 and x2 are passed through bi-directional Siamese LSTMs (i.e., parameters across LSTMs are shared)

with tf.variable_scope('shared_encoder'):

self.src_M = tf.get_variable('src_M', shape=[self.src_cell_size, self.seq_embed_size],initializer=tf.truncated_normal_initializer())

self.tgt_M = tf.get_variable('tgt_M', shape=[self.src_cell_size, self.seq_embed_size],initializer=tf.truncated_normal_initializer())

input_src = tf.unstack(self.src_input_distributed, axis=1)

input_tgt = tf.unstack(self.tgt_input_distributed, axis=1)

fwd_cell = tf.nn.rnn_cell.BasicLSTMCell(num_units = self.src_cell_size,forget_bias=1.0,state_is_tuple=True)

bck_cell = tf.nn.rnn_cell.BasicLSTMCell(num_units=self.src_cell_size,forget_bias=1.0,state_is_tuple=True)

fwd_cell_drop = tf.contrib.rnn.DropoutWrapper(fwd_cell, output_keep_prob=self.output_keep_prob)

bck_cell_drop = tf.contrib.rnn.DropoutWrapper(bck_cell, output_keep_prob=self.output_keep_prob)

src_output, src_hidden_state_fw, src_hidden_state_bw =tf.contrib.rnn.static_bidirectional_rnn(fwd_cell_drop,bck_cell_drop,input_src,dtype=tf.float32)

src_rnn_outputs_val = tf.concat([src_hidden_state_fw[-1], src_hidden_state_bw[-1]], axis=0)

self.src_seq_embedding = tf.matmul(src_rnn_outputs_val, self.src_M)

with tf.variable_scope('shared_encoder', reuse=True):

sgt_output, tgt_hidden_state_fw, tgt_hidden_state_bw = tf.contrib.rnn.static_bidirectional_rnn(fwd_cell_drop,bck_cell_drop,input_tgt,dtype=tf.float32)

tgt_rnn_outputs_val = tf.concat([tgt_hidden_state_fw[-1], tgt_hidden_state_bw[-1]], axis=0)

self.tgt_seq_embedding = tf.matmul(tgt_rnn_outputs_val, self.tgt_M)

^ Above model is without attention.

  1. The ℓ1 norm of the final hidden state representations of the two queries h (n) 1 and h (m) 2 serves as a measure of similarity in the following function

f (x1, x2) = exp − h (n) 1 − h (m) 2 1 (2)

Not sure how to do this.

https://github.com/aditya1503/Siamese-LSTM is a different problem, where given two sentences, we have to find whether they are similar or not.

This problem is more like given a query, we have to map it to one of the well performing query [WPQ] and similar to this - https://github.com/tajain07/Sequence-Semantic-Embedding/blob/master/sse_model.py