mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-26 13:29:31 -04:00
commit
This commit is contained in:
parent
b5cfda9479
commit
6592da324c
@ -1,18 +0,0 @@
|
||||
boost_factor <- function(base,m,n, x) {
|
||||
return(log(m*(1-x)+n, base=base))
|
||||
}
|
||||
|
||||
base=exp(1)
|
||||
|
||||
# y1 is the weight when xapian prob is 100%
|
||||
y1=0.8
|
||||
|
||||
# X2 is the xapian prob we want the boost factor to be 1
|
||||
x2=0.75
|
||||
|
||||
n=base^y1
|
||||
m=(base^1-n)/(1-x2)
|
||||
boost_factor(base, m, n, 0)
|
||||
|
||||
sprintf('%.10f',m)
|
||||
sprintf('%.10f',n)
|
@ -1430,6 +1430,7 @@
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
@ -1477,6 +1478,7 @@
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
|
Loading…
x
Reference in New Issue
Block a user