manuparra / oc2dm

Open Cloud Computing Data Mining Platform
https://dicits.ugr.es/occml
MIT License
3 stars 1 forks source link

Run R Linear Regression basic method from LinearRegresion EntryPoint #5

Closed manuparra closed 7 years ago

manuparra commented 7 years ago

Steps:

  1. Create class/objets folder in openccml with the name RInterface 1.1. Include init.py and wrapper.py: 1.1.1 In wrapper.py will be all execution functions for each method (entrypoint name). If implementation is core.lm it means that in wrapper.py you will be a class core and method lm
  2. In wrapper.py include all classes to execute R code from core packages (lm, cor, ...) and external libraries (randomForest, etc)

Example:

Class core:
  def cor:
      ...
  def lm:
      ...

Class randomForest:
   def randomforest: