Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6620591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:07:17+00:00 2026-05-25T21:07:17+00:00

Situation: I am currently developing a Java application based on rules. Every rule has

  • 0

Situation:
I am currently developing a Java application based on rules. Every rule has 3 numeric parameters to influence a database communication. I am measuring a value, that is affected by this rules and calculate the standard deviation of the measured values. The standard deviation should be as small as possible.

Question:
I am wondering if it is possible to do this automated? I can already start a test scenario automatically and I can calculate the standard deviation automatically. So, now I am looking for mechanism to adjust the parameters according to the measured values. Any ideas?

Thanx.

PS: I know, it’s a very general question…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T21:07:18+00:00Added an answer on May 25, 2026 at 9:07 pm

    As Peter says, you have to minimize a function f(a,b,c). There are a lot of elaborate methods for well behaving functions. Eg for functions which can be differentiated, or for so called convex functions. In your case you have a function where we do not know very much about. So f could have different local minima which kills many established minimization methods.

    If a simple evaluation of a parameter set a,b,c is fast, you can try some kind of coordinate descent. This is not the best method, brute force but easy for you to implement. I will name the standard deviation achieved by (a,b,c) as s(a,b,c):

    I give you some python style pseudo code, which should be easy to read:

       def improve(a,b,c):
           eps = .01
    
    
           s1 = s(a*(1+eps), b, c)
           s2 = s(a, b*(1+eps), b, c)
           s3 = s(a, b, c*(1+eps))
    
           s4 = s(a*(1-eps), b, c)
           s5 = s(a, b*(1-eps), c)
           s6 = s(a, b, c*(1-eps))
    
           # determine minimal of (s1....s6) and take index:
           i = argmin (s1....s6) 
    
           # take parameters which lead to miminal si:   
           if i==1:
              a = a*(1+eps)
           if i==2:
              b = b*(1+eps)
    
           ...
    
           if i==6:
              c = c*(1-eps)
    
           return a,b ,c
    

    You have to start with some values (a,b,c) and this function should give you a new triple (a,b,c) which leads to less variation. Now you can apply this step as often as you want.
    Maybe you have to adapt eps, that depends on how fast s(a,b,c) changes if you make little modifications on a, b, or c.

    This is not the best solution, but an easy to try hands-on approach.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently developing a small business database application for which we plan to go
I'm currently developing a WFC RIA based Silverlight Business Application (intranet use only) for
Currently, I am developing an application which domain model should prevent objects duplication according
I'm currently developing on a project written in Java. We have a bunch of
I am developing a Windows Phone 7 Silverlight application that currently displays a map
Let me describe my situation: We are developing a web application that creates websites.
I'm currently developing an application that needs to communicate with a webservice on the
I am developing a console-based .NET application (using mono). I'm using asynchronous I/O (Begin/EndReceive).
Situation We are currently developing a Sharepoint 2010 site that uses Infopath 2010 forms.
It is the following situation: I currently have multiple Java projects in Eclipse. All

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.