Questions tagged [loss]

599 questions
0
votes
1 answer

mysql how to send data to both servers

I have some data logs sent to a mySQL database on server1. Sometimes, due to the power failure, the server1 shuts down. I need the logs to be sent to mySQL database on server2 and then, when server 1 is up, to synchronize everything, so no logs can…
catalin
  • 946
  • 6
  • 14
  • 31
0
votes
0 answers

In Tensorflow, how to convert scores from neural net into discrete values as a part of learning process

Hello fellow tensorflowians! I have a following schema: I input some continous variables (actually, word embeddings I took from google word2vec), and I am trying to predict output that can be considered as continous as well as discrete (sorry,…
mhnatiuk
  • 148
  • 2
  • 11
0
votes
2 answers

Significant jpeg quality loss after downloading and base64 encoding

My app downloads a Facebook user's jpeg profile picture and base64 encodes it. When decoding it, the resulting jpeg quality and size is significantly reduced. How do I avoid this? Here is the way I'm downloading/encoding: // Download the profile…
niebula
  • 351
  • 1
  • 6
  • 13
0
votes
0 answers

A special loss function in caffe

I have a kind of euclidean loss function which is: \sum_{i,j} c_i*max{0,y_{ji}-k_{ji}} + p_i*max{0,k_{ji}-y_{ji}} which y_{ji} are the output of caffe and k_{ji} are the real output value, i is the index of the items and j is index of samples. The…
Afshin Oroojlooy
  • 1,326
  • 3
  • 21
  • 43
0
votes
2 answers

Loss turns to be NAN at the first round step in my tensorflow CNN

Loss turns to be NAN at the first round step in my tensorflow CNN. 1. Network : 3 hidden layers (2 convolutional layers +1 hidden fullconnect layer) + readout layer. 2. The 3 hidden layers : a) Weights : W =…
u4lr
  • 41
  • 5
0
votes
0 answers

Windows UDP loss when source port changing

I'm trying to implement an UDP server on windows, and use a simulator to do performance testing. And I found that if the source port is changing, packages will be lost about 50% when 5000pps, but if the source port is stable, packages will not be…
ray
  • 21
  • 3
0
votes
1 answer

Lucene ScoreDoc: Find significant loss in scores

so I've written a tiny tool that (given a query) lists the top 1000 resulting documents ordered by their query score. Obviously, not all of them are relevant. As a user I and other people often do the following: Look at the scores Scroll down the…
pedjjj
  • 958
  • 3
  • 18
  • 40
0
votes
3 answers

Loss of values in array in struct after function execution

I am working on a c code that holds a structure that hosts some values which I call range. My purpose is to use this so called range dynamically (holding different amount of data at every execution). I am now provisionally using the # define comp…
mae
  • 15
  • 3
0
votes
0 answers

Data Loss DataGridView and DB at Application Restart VB.NET

Could someone help find out why do both MS ACCESS Datasource and DGView loose data after insert then restart the application using the following code: Me.MyTableAdapter.Insert(Me.TextBox1.Text, Me.TextBox2.Text, Me.TextBox3.Text) …
Backalife
  • 3
  • 3
0
votes
0 answers

Android webview image quality loss before 4.4 kitkat

I have a website running a few images using the swipe js I found on github. I created a WebView to load that webpage however I am running into severe image quality loss on versions before 4.4 kitkat. I have tried the solution…
0
votes
1 answer

Apache Cassandra Packet Loss and Delay influencing choice of the Node to read data

Hello everyone who is reading this. Are there any Cassandra gurus on Stackoverflow?))) I have been researching in using Apache Cassandra for our company's monitoring system project. I wonder, how Cassandra would work in the following scenario: 3…
Lastik
  • 87
  • 1
  • 6
0
votes
0 answers

Count TCP losses for incoming connection?

I control machine A, and am receiving data over TCP from machine B (which I don't control). I want to count / estimate the number of packets this connection loses. What might be the best approach? netstat does not seem to give anything very useful;…
0
votes
1 answer

Loss Development Triangle - Is there an MDX Query to build this into a cube?

Background In Insurance, a loss development triangle breaks down the cumulative costs (IE: Dollars paid for claims) over consistent development periods. The purpose is to help you see the progression of claim costs year by year over the same period…
0
votes
4 answers

fflush and 'no disk space left'

I'm writing a program, some kind of database. While I was reading manual of fclose(3) I found that it calls fflush(3) to flush FILE* buffers to disk (actually to OS buffer, but it doesn't matter right now, we can always call fsync(2)). Because I'm…
f0b0s
  • 2,978
  • 26
  • 30
0
votes
1 answer

Image Magick - trim and repage - loss of quality

When I use this command to trim a PDF file: convert -fuzz 1% -trim +repage multi0.pdf multi0new.pdf The result is very disappointing and the trimmed image size becomes more than 10 times lower than the source. Is there any way to make a clean image…
Vincent Roye
  • 2,751
  • 7
  • 33
  • 53