Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] improvement TS prediction #1064

Open
akasolace opened this issue Jun 2, 2021 · 7 comments
Open

[FEATURE] improvement TS prediction #1064

akasolace opened this issue Jun 2, 2021 · 7 comments
Assignees
Labels
Milestone

Comments

@akasolace
Copy link
Collaborator

from an HT user on the forum:

How accurate is the TS predictor ? Is there a way to get the calculations behind (formula) ?
Is it possible to add some lines to see when is the mid-week match and a line for each TS levels please ?

@akasolace akasolace added the type: enhancement Enhancement label Jun 2, 2021
@akasolace akasolace added this to the 6.0 milestone Jun 2, 2021
@wsbrenk wsbrenk modified the milestones: 6.0, 7.0 Apr 29, 2022
@wsbrenk wsbrenk modified the milestones: 7.0, 8.0 Jan 31, 2023
@wsbrenk wsbrenk modified the milestones: 8.0, 9.0 Feb 18, 2024
@wsbrenk wsbrenk self-assigned this Jan 22, 2025
@wsbrenk
Copy link
Collaborator

wsbrenk commented Jan 22, 2025

ts reset value is 5.0 instead of 4.5 for nt teams.

wsbrenk added a commit to wsbrenk/HO that referenced this issue Jan 22, 2025
wsbrenk added a commit to wsbrenk/HO that referenced this issue Jan 22, 2025
wsbrenk added a commit to wsbrenk/HO that referenced this issue Jan 22, 2025
wsbrenk added a commit to wsbrenk/HO that referenced this issue Jan 22, 2025
wsbrenk added a commit to wsbrenk/HO that referenced this issue Jan 22, 2025
wsbrenk added a commit to wsbrenk/HO that referenced this issue Jan 23, 2025
wsbrenk added a commit to wsbrenk/HO that referenced this issue Jan 23, 2025
@wsbrenk
Copy link
Collaborator

wsbrenk commented Jan 27, 2025

ts boost by reducing the training intensity:

and whats about the change of intensity? how much % do I have to reduce it to get the TS-boost?

Not sure about this.

It's around 1 TS-level per 40%

100-60
60-36
36-22

@wsbrenk
Copy link
Collaborator

wsbrenk commented Jan 29, 2025

  • HT-Tools Hattrick Manager Assistant
  • Copyright 2014-2015 Ventouris Anastasios
  • Licensed under GPL v3
		TSafter = (TSbefore * Math.pow(1.2, Math.log(TIafter / TIbefore, 0.7))).toFixed(2);

		if (TSafter > 10) {
			TSafter = 10;
		}

@wsbrenk
Copy link
Collaborator

wsbrenk commented Jan 30, 2025

@tychobrailleur Do you have any idea what javascript does with the math.log call given above - I can't find anything about it, only log with one single argument.

my guess would be to implement math.log(tiAfter/tiBefore)/math.log(0.7), but i'm not sure if that is the intention.

@wsbrenk
Copy link
Collaborator

wsbrenk commented Jan 30, 2025

searching in tasos sources gives this:

Math.log = (function() {
  var log = Math.log;
  return function(n, base) {
    return log(n)/(base ? log(base) : 1);
  };
})();

@wsbrenk
Copy link
Collaborator

wsbrenk commented Jan 30, 2025

@wsbrenk
Copy link
Collaborator

wsbrenk commented Jan 30, 2025

seems to be exactly what i guessed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants