Commit Graph

2489 Commits (93ac56b353e7d69bd0d553bb864889f38fc0ee33)

Author SHA1 Message Date
Zlatin Balevsky f5f84899ec
change state on observation even if there is not enough history yet. Initialize MC with last state from DB 2020-10-24 12:38:18 +01:00
Zlatin Balevsky e1b2582ca6
do not prepend an S to the history 2020-10-24 12:29:50 +01:00
Zlatin Balevsky 58a8364901
do not transition when only predicting 2020-10-24 12:18:20 +01:00
Zlatin Balevsky 340ff339b3
reinit MC with last observed state 2020-10-24 11:32:14 +01:00
Zlatin Balevsky 8a4a2a75c4
up min profile history to 5 2020-10-24 10:18:26 +01:00
Zlatin Balevsky 43a503514b
introduce minimum history size for Markov computation 2020-10-23 20:29:30 +01:00
Zlatin Balevsky 7c0443abff
change initial probabilities to reduce the number of connects to consecutively failing nodes 2020-10-23 20:20:05 +01:00
Zlatin Balevsky 33f38144eb
record the number of connections in the db every minute. Gitlab issue #49 2020-10-23 07:32:54 +01:00
Zlatin Balevsky 44eaa3986b
fix verification 2020-10-22 21:08:34 +01:00
Zlatin Balevsky b01d8708f2
Release 0.8.1 2020-10-22 16:38:31 +01:00
Zlatin Balevsky 98bed8bfc8
force US locale to make sure BigDecimal parses 2020-10-22 16:24:42 +01:00
Zlatin Balevsky c1d5d32115
up version 2020-10-22 13:54:47 +01:00
Zlatin Balevsky 7c653e83e0
Release 0.8.0 2020-10-22 12:02:26 +01:00
Zlatin Balevsky 3dfc0be63b
guard against NaN going in the DB 2020-10-22 11:52:48 +01:00
Zlatin Balevsky 4fdcc330f6
switch to search window on browse from chat 2020-10-22 10:55:21 +01:00
Zlatin Balevsky 0e658d39a4
use a nested sql statement for tstamp deletion 2020-10-22 10:40:39 +01:00
Zlatin Balevsky a795fec72c
fix deleting of old items 2020-10-22 10:20:31 +01:00
Zlatin Balevsky 19b7e8bc53
fix variable name, limit deletions 2020-10-22 09:56:55 +01:00
Zlatin Balevsky 4e6c90b98c
try to fix purging of old entries within the same day 2020-10-22 09:34:53 +01:00
Zlatin Balevsky aa3cf2cf84
fix plugin build 2020-10-22 09:33:18 +01:00
Zlatin Balevsky 05d18083f6
switch tabs on browse action 2020-10-22 09:06:56 +01:00
Zlatin Balevsky d0c505ee94
merge from h2-hostcache branch 2020-10-22 08:57:27 +01:00
Zlatin Balevsky 7d8c43c9d3
more logging 2020-10-22 08:49:38 +01:00
Zlatin Balevsky 6107d1e298
continuously update the Markov chain, purge old records 2020-10-22 07:20:16 +01:00
Zlatin Balevsky b2a98f6ce8
more logging 2020-10-21 14:41:18 +01:00
Zlatin Balevsky 917c231d51
flush gzipped streams in finally and try-catch 2020-10-21 14:32:59 +01:00
Zlatin Balevsky 688beae1d6
wrap closing of compressed streams in try-catch 2020-10-21 14:10:59 +01:00
Zlatin Balevsky cafe8858b9
more logging 2020-10-21 14:10:17 +01:00
Zlatin Balevsky c922a61838
fix table name 2020-10-21 12:43:48 +01:00
Zlatin Balevsky 0552000d59
logging changes 2020-10-21 11:59:02 +01:00
Zlatin Balevsky aeb392eba9
avoid npe for first time failed incoming attempts 2020-10-21 11:18:02 +01:00
Zlatin Balevsky dce69bbbbe
recalc MCs on first history item, gitlab issue #46 2020-10-21 11:06:42 +01:00
Zlatin Balevsky efae38a400
make sure hosts with successful attempts can be advertised 2020-10-21 06:10:14 +01:00
Zlatin Balevsky 38bf4f2ea2
start with optimistic profile if received from hostcache or a new successful connection has been made 2020-10-21 05:46:32 +01:00
Zlatin Balevsky 768673e979
purging of hopeless hosts 2020-10-21 05:21:32 +01:00
Zlatin Balevsky 07a87e6257
fix predicate 2020-10-21 04:06:00 +01:00
Zlatin Balevsky 2574f27fe8
Add determination of hopelessness, advertisability to hosts. Fix MuWire status panel 2020-10-21 03:57:45 +01:00
Zlatin Balevsky 6806542808
proper calculation of probabilities 2020-10-20 20:12:54 +01:00
Zlatin Balevsky 68f00042c6
fix toString 2020-10-20 20:12:37 +01:00
Zlatin Balevsky ae45570005
delete history of attempts when threshold reached, log profile probabilities 2020-10-20 19:46:32 +01:00
Zlatin Balevsky cc8e6e312b
update DB2CSV tool to export profiles 2020-10-20 19:15:57 +01:00
Zlatin Balevsky 5e1a796663
fix up sql 2020-10-20 19:02:49 +01:00
Zlatin Balevsky a4e2d28072
fix table and column names 2020-10-20 18:39:04 +01:00
Zlatin Balevsky b1f58b0948
add optimistic profiles to newly discovered hosts 2020-10-20 18:15:10 +01:00
Zlatin Balevsky a725837769
use the Markov chain in the hostcache 2020-10-20 18:11:04 +01:00
Zlatin Balevsky dd967cc0f0
wip on Markov chain 2020-10-20 16:46:30 +01:00
Zlatin Balevsky e5adcd181f
update test 2020-10-20 16:45:39 +01:00
Zlatin Balevsky 8798e83ab7
wip on Markov chain 2020-10-20 16:19:36 +01:00
Zlatin Balevsky 315f29c668
invert probability 2020-10-20 15:15:39 +01:00
Zlatin Balevsky 3b10640904
first pass at a Markov chain 2020-10-20 15:14:17 +01:00