input
stringlengths
10
828
output
stringlengths
5
107
public void set parent location string value this parent location value
sets the value of the parent location property
public string get subfolder name return subfolder name
gets the value of the subfolder name property
public cancel trigger create cancel trigger return new cancel trigger
create an instance of
public void set subfolder name string value this subfolder name value
sets the value of the subfolder name property
public get global property response create get global property response return new get global property response
create an instance of
public check setup create check setup return new check setup
create an instance of
public get running processes create get running processes return new get running processes
create an instance of
public set global property response create set global property response return new set global property response
create an instance of
public execution response get return return return
gets the value of the return property
public void set return execution response value this return value
sets the value of the return property
public stop process create stop process return new stop process
create an instance of
public response create response return new response
create an instance of
public string get process xml return process xml
gets the value of the process xml property
public macro definition create macro definition return new macro definition
create an instance of
public void set process xml string value this process xml value
sets the value of the process xml property
public int get scheduled process id return scheduled process id
gets the value of the scheduled process id property
public xmlgregorian calendar get last timestamp return last timestamp
gets the value of the last timestamp property
public void set scheduled process id int value this scheduled process id value
sets the value of the scheduled process id property
public execute process simple create execute process simple return new execute process simple
create an instance of
public void set last timestamp xmlgregorian calendar value this last timestamp value
sets the value of the last timestamp property
public process contents response get return return return
gets the value of the return property
public stop process response create stop process response return new stop process response
create an instance of
public void set return process contents response value this return value
sets the value of the return property
public get running processes info create get running processes info return new get running processes info
create an instance of
public xmlgregorian calendar get since return since
gets the value of the since property
public string get blob name return blob name
gets the value of the blob name property
public void set since xmlgregorian calendar value this since value
sets the value of the since property
public execute process simple response create execute process simple response return new execute process simple response
create an instance of
public void set blob name string value this blob name value
sets the value of the blob name property
public void set date long value this date value
sets the value of the date property
public execute process cron response create execute process cron response return new execute process cron response
create an instance of
public string get io object class name return io object class name
gets the value of the io object class name property
public void set io object class name string value this io object class name value
sets the value of the io object class name property
public execution response create execution response return new execution response
create an instance of
public void set cron expression string value this cron expression value
sets the value of the cron expression property
public int get latest revision return latest revision
gets the value of the latest revision property
public xmlgregorian calendar get start return start
gets the value of the start property
public void set latest revision int value this latest revision value
sets the value of the latest revision property
public void set start xmlgregorian calendar value this start value
sets the value of the start property
public get running processes info response create get running processes info response return new get running processes info response
create an instance of
public xmlgregorian calendar get end return end
gets the value of the end property
public void set end xmlgregorian calendar value this end value
sets the value of the end property
public process stack trace create process stack trace return new process stack trace
create an instance of
public xmlgregorian calendar get completion time return completion time
gets the value of the completion time property
public void set completion time xmlgregorian calendar value this completion time value
sets the value of the completion time property
public void set execute string value this execute value
sets the value of the execute property
public process response get return return return
gets the value of the return property
public string get exception return exception
gets the value of the exception property
public void set return process response value this return value
sets the value of the return property
public string get folder location return folder location
gets the value of the folder location property
public void set exception string value this exception value
sets the value of the exception property
public void set folder location string value this folder location value
sets the value of the folder location property
public void set read string value this read value
sets the value of the read property
public void set write string value this write value
sets the value of the write property
public process stack trace get trace return trace
gets the value of the trace property
public void set trace process stack trace value this trace value
sets the value of the trace property
public string get package id return package id
gets the value of the package id property
public void set package id string value this package id value
sets the value of the package id property
public string get target platform return target platform
gets the value of the target platform property
public void set target platform string value this target platform value
sets the value of the target platform property
public get bookmarked products create get bookmarked products return new get bookmarked products
create an instance of
public get bookmarked products response create get bookmarked products response return new get bookmarked products response
create an instance of
public xmlgregorian calendar get creation time return creation time
gets the value of the creation time property
public void set creation time xmlgregorian calendar value this creation time value
sets the value of the creation time property
public void set dependencies string value this dependencies value
sets the value of the dependencies property
public string get base package return base package
gets the value of the base package property
public void set icon byte value this icon byte value
sets the value of the icon property
public package descriptor get return return return
gets the value of the return property
public void set base package string value this base package value
sets the value of the base package property
public void set return package descriptor value this return value
sets the value of the return property
public string get license name return license name
gets the value of the license name property
public void set license name string value this license name value
sets the value of the license name property
public string get package type name return package type name
gets the value of the package type name property
public void set package type name string value this package type name value
sets the value of the package type name property
public void set platform name string value this platform name value
sets the value of the platform name property
public string get for prefix return for prefix
gets the value of the for prefix property
public void set for prefix string value this for prefix value
sets the value of the for prefix property
private centroid cluster model assine points centroid cluster model model double values new double attributes size int i 0 for example example example set double example values get as double array example attributes values double nearest distance measure calculate distance model get centroid coordinates 0 example values int nearest index 0 int id 0 for centroid cr model get centroids double distance measure calculate distance cr get centroid example values if distance nearest distance nearest distance distance nearest index id id centroid assignments i nearest index i model set cluster assignments centroid assignments example set return model
assign the points to cluster
private double calc bic centroid cluster model best model double loglike 0 int num centers best model get number of clusters int num dimensions best model get centroid coordinates 0 length int num parameters num centers 1 probabilities num centers num dimensions means num centers variance params for cluster c best model get clusters int current id c get cluster id loglike log likelihood estimate c best model get centroid coordinates current id best model get cluster assignments example set num centers loglike num parameters 2 0 math log examplesize return loglike
calculate the bic like in the paper by dan pelleg and andrew moore
public jar file find archive throws ioexception file find file find file if find file null return new jar file find file throw new file not found exception could not access file of installed extension
this method returns the jar file of the extension or throws an
public boolean uninstall active version file file find file selected version we only mark as uninstalled if 1 file does not exist probably was removed manually 2 we were able to remove it requires administrator permissions if installed globally if file null file exists file delete installed versions remove selected version selected version null active false if installed versions is empty managed extensions remove this get package id save configuration return true
returns true if uninstall was successful
public boolean is purchased package descriptor desc return purchased packages contains desc get package id
currently this is an unused feature
public void add condition data table filter condition condition if condition null return condition stack add condition set selected indices update selection inform data table filtered listener
adds a new condition
public void add conditions iterable extends data table filter condition conditions boolean changed false for data table filter condition condition conditions if condition null condition stack add condition changed true if changed set selected indices update selection inform data table filtered listener
adds a batch of conditions
public void replace conditions iterable extends data table filter condition new conditions int old size condition stack size condition stack clear if new conditions iterator has next old size 0 set selected indices update selection inform data table filtered listener return add conditions new conditions
replaces all conditions
public void set sort provider data table sort provider sort provider if this sort provider sort provider invalidate index mapping this sort provider sort provider fire event
sets the new sort provider invalidates cache and informs all listeners
public void set attribute per peak int attributes per peak this attributes per peak attributes per peak
must be bigger than 2
public operator library get library return containing library
this method returns the library this description is contained in
public void write xml element operator element operator element set attribute attribute key get key operator element set attribute attribute group key get group operator element set attribute attribute icon get icon name
this method saves all settings into the given element
public string get group return fully qualified group key
this returns the qualified dot separated key of the containing group
public string get group name int pos fully qualified group key last index of if pos 1 return fully qualified group key else return fully qualified group key substring pos 1
this returns the actual group name as displayed in rapid miner
private void read xml element element this namespace identifier element get attribute attribute namespace id this namespace name element get attribute attribute namespace this name element get attribute attribute name this version new version number element get attribute attribute version this synopsis xmltools get tag contents element element synopsis this documentation xmltools get tag contents element element documentation
this will load all definitions from the given xml element as written by
public string get provider namespace return provider null provider get extension id operator service rapid miner core namespace
this defines the namespace of the provider
protected operator create operator instance by description operator description description throws illegal argument exception instantiation exception illegal access exception invocation target exception security exception no such method exception java lang reflect constructor extends operator constructor clazz get constructor new class operator description class return constructor new instance new object description
this method creates the actual instance of the
protected parameter handler get parameter handler return handler
this method returns the
public boolean is icon defined return icon name null
this returns true if a specific icon already has been defined in
public void set root operator process root operator root if this root operator null this root operator remove observer delegating operator observer this root operator root this root operator add observer delegating operator observer false this operator name map clear this root operator set process this
sets the current root operator
public void set main criterion name string mc name if mc name equals main criterion first get averagable mc name null log service get global log main criterion not found mc name log service error log service get root log level severe com rapidminer operator performance performance vector main criterion not found mc name this main criterion mc name
sets the name of the main average must be added by
public performance vector do work example set example set throws operator exception example set input receive example set do work return performance output get data performance vector class
helper method if this operator is constructed anonymously
private void add performance value final string name string description add value new value double name description override public double get double value if current performance vector null return double na n performance criterion c current performance vector get criterion name if c null return c get average else return double na n
adds the performance criteria as plottable values e