How to create Fuzzy Logic rules or model in Java -


i have been given new task in new job, basically, have create "model" predict future data. have been told fuzzy logic best way this, , use java every day, prefer use here too.

i have searched information fuzzy logic , understand , how works (here , here).

i have searched apis can me (for example, jfuzzylogic , jfuzzylite), none of seem able want (or maybe me have no idea searching for).

my idea dinamically generate "rules" (which make model) based on data have. (i have data different outcomes, model tell me if new data belongs 1 outcome or another, basic prediction).

am approaching problem in correct way? java api have functionalities?

please, tell me if wrong, want learn as possible.

thank reading (you might need correct english mistakes, sorry that).

edit (more information): data stored in excels, each has 5000 rows , 75 columns (column number same):

  • all useful values numbers (float) (i filter rest).
  • each row data specific piece , each column attribute (lenght, width, height....and 67 more) .
  • the last column code (also float) says type of piece
    • this outcome want predict. idea predict code piece have based on other column values.

it looks standard regression problem. want predict number values of other numbers.

let's call last column y, , others x_i. want find function (your model) gives y based on x. y = f(x). model can take many form. should start simplest one, linear model.

linear regression try find best w_i such :

y = w_0 * x_0 + w_1 * x_1 + ... + w_n * x_n

so need regression library in java. popular 1 weka, has linear regression class.

concerning fuzzy logic, i'm not expert doesn't seem suited problem.


Comments