Giter Site home page Giter Site logo

flo1166 / regression_javaclass Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 15 KB

This was part of the lecture "object oriented programming of heuristics" at the KU Ingolstadt.

Java 100.00%
exponential java least-square-regression linear object-oriented regression-algorithms

regression_javaclass's Introduction

Regression_JavaClass

General:

This code solves a regression problem. Two methods are implemented:

  • for linear regression (KQS)
  • for quadratic functions, transformed as a linear problem It returns the m, t (or quadratic: a, lambda) parameter and the residuals (y - y_hat).

Structure:

  • datapoints = build object where a datapoint consist of a week and product price
  • DataPoint = a simple datapoint with week and price
  • DatePointOverview = a abstract class to have datapoints relating to each other via DataPoint class and x and y array seperated (for calculating reasons)
  • mathfunctions = interface, which contracts the functions to implement (for global usage)
  • Regression = the interface to contract classes which want to interact
  • regression = two methods implemented in Java
  • LinearModel = implementation of the linear problem (KQS)
  • QuadraticFunction = implementation of the quadratic problem, with log transformation and then processed like a linear problem

regression_javaclass's People

Contributors

flo1166 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.