|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface Target
Represents a variable whose values are known in one or more data sets that are available (in training data, for example) but whose values are unknown in one or more future data sets (in a score data set, for example). Data mining models use data from known variables to predict the values of target variables. Used by SAS Enterprise Miner.
Attributes of Target are:
Associations of Target are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); Target myObject = (Target) factory.createComplexMetadataObject(objectStore, "Target_Object", MetadataObjects.TARGET, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil.
updateMetadataAll
method.
delete method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
| Field Summary | |
|---|---|
static java.lang.String |
ASSOCIATION_FITSTATISTICS_NAME
Constant used for the name of the FitStatistics association. |
static java.lang.String |
ASSOCIATION_MODELS_NAME
Constant used for the name of the Models association. |
static java.lang.String |
ASSOCIATION_OWNINGANALYTICCOLUMN_NAME
Constant used for the name of the OwningAnalyticColumn association. |
static java.lang.String |
ASSOCIATION_TEXTUALINFORMATIONOBJECTS_NAME
Constant used for the name of the TextualInformationObjects association. |
static java.lang.String |
ATTRIBUTE_EVENT_NAME
Constant used for the name of the Event attribute. |
| Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
|---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
| Method Summary | |
|---|---|
abstract java.lang.String |
getEvent()
Gets the String value of Event |
abstract int |
getEventMaxLength()
Gets the maximum length of Event |
abstract int |
getEventState()
Gets the Metadata State of Event |
abstract AssociationList |
getFitStatistics()
Gets the AssociationList of FitStatistics |
abstract AssociationList |
getFitStatistics(boolean fGoToServer)
Gets the Associationlist of FitStatistics |
abstract AssociationList |
getModels()
Gets the Association list of Models |
abstract AssociationList |
getModels(boolean fGoToServer)
Gets the Associationlist of Models |
abstract AnalyticColumn |
getOwningAnalyticColumn()
Gets the AnalyticColumn for OwningAnalyticColumn |
abstract AssociationList |
getOwningAnalyticColumns()
Gets the AssociationList of OwningAnalyticColumns |
abstract AssociationList |
getOwningAnalyticColumns(boolean fGoToServer)
Gets the Associationlist of OwningAnalyticColumns |
abstract AssociationList |
getTextualInformationObjects()
Gets the AssociationList of TextualInformationObjects |
abstract AssociationList |
getTextualInformationObjects(boolean fGoToServer)
Gets the Associationlist of TextualInformationObjects |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: FitStatisticsOwningAnalyticColumnTextualInformationObjects |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningAnalyticColumn |
abstract void |
setEvent(java.lang.String inEvent)
Sets the Event value and sets the state to MetadataState.LOCAL. |
abstract void |
setEvent(java.lang.String inEvent,
int state)
Sets the Event Metadata State. |
abstract void |
setEventState(int state)
Sets the Metadata State of Event. |
abstract void |
setFitStatistics(AssociationList list)
Sets the FitStatistics list to be list. |
abstract void |
setFitStatistics(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setModels(AssociationList list)
Sets the Models list to be list. |
abstract void |
setModels(AssociationList inObjects,
int state)
Sets the entire Models list to match the passed in AssociationList, sets the state of the Models |
abstract void |
setOwningAnalyticColumn(AnalyticColumn inObject)
Sets the OwningAnalyticColumns list 0th element to be inObject. |
abstract void |
setOwningAnalyticColumns(AssociationList list)
Sets the OwningAnalyticColumns list to be list. |
abstract void |
setOwningAnalyticColumns(AssociationList list,
int state)
Sets the OwningAnalyticColumns list to be list. |
abstract void |
setTextualInformationObjects(AssociationList list)
Sets the TextualInformationObjects list to be list. |
abstract void |
setTextualInformationObjects(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
| Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
|---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
| Field Detail |
|---|
static final java.lang.String ATTRIBUTE_EVENT_NAME
Event: The value of interest. For example, if we want to use column PURCHASE as the binary target to create a predictive model and suppose that there are two values in the target: 0,1 which map to NO and YES using a format. One of the first questions that a mining tool would ask during model training is what is, "What is the value that is to be modeled. i.e., Is it YES, or is it NO?" If YES is the event, then NO is the non-event, and vice versa.
static final java.lang.String ASSOCIATION_FITSTATISTICS_NAME
FitStatistics: The fit statistics that are associated with this target.
static final java.lang.String ASSOCIATION_OWNINGANALYTICCOLUMN_NAME
OwningAnalyticColumn: The column that has a role of target.
static final java.lang.String ASSOCIATION_TEXTUALINFORMATIONOBJECTS_NAME
TextualInformationObjects: Textual information about this target. There would be multiple text objects associated with a target. The roles would be Importance, Interaction, and Profile.
static final java.lang.String ASSOCIATION_MODELS_NAME
Models: The models that act upon this target.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
OwningAnalyticColumn
initializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface RootinitializeRequiredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
FitStatisticsOwningAnalyticColumnTextualInformationObjects
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface RootinitializePredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getEvent()
throws java.rmi.RemoteException
String value of Event
Event
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getEventState()
throws java.rmi.RemoteException
Event
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getEventMaxLength()
throws java.rmi.RemoteException
Event
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getFitStatistics()
throws java.rmi.RemoteException,
MdException
FitStatistics
FitStatistics which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getOwningAnalyticColumns()
throws java.rmi.RemoteException,
MdException
OwningAnalyticColumns
OwningAnalyticColumns which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
AnalyticColumn getOwningAnalyticColumn()
throws java.rmi.RemoteException,
MdException
AnalyticColumn for OwningAnalyticColumn
AnalyticColumn ( null if not set) of OwningAnalyticColumnwhich can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getTextualInformationObjects()
throws java.rmi.RemoteException,
MdException
TextualInformationObjects
TextualInformationObjects which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getModels()
throws java.rmi.RemoteException,
MdException
Models
Models which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getFitStatistics(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
FitStatistics
fGoToServer - boolean Get the value from the server.
FitStatistics which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getOwningAnalyticColumns(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
OwningAnalyticColumns
fGoToServer - boolean Get the value from the server.
OwningAnalyticColumns which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getTextualInformationObjects(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
TextualInformationObjects
fGoToServer - boolean Get the value from the server.
TextualInformationObjects which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getModels(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Models
fGoToServer - boolean Get the value from the server.
Models which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
void setEvent(java.lang.String inEvent)
throws java.rmi.RemoteException
Event value and sets the state to MetadataState.LOCAL.
inEvent - String
java.rmi.RemoteException - If error communicating with remote object.
void setEvent(java.lang.String inEvent,
int state)
throws java.rmi.RemoteException
Event Metadata State.
inEvent - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setEventState(int state)
throws java.rmi.RemoteException
Event.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setFitStatistics(AssociationList list)
throws java.rmi.RemoteException
FitStatistics list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setFitStatistics(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setOwningAnalyticColumns(AssociationList list)
throws java.rmi.RemoteException
OwningAnalyticColumns list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setOwningAnalyticColumns(AssociationList list,
int state)
throws java.rmi.RemoteException
OwningAnalyticColumns list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setOwningAnalyticColumn(AnalyticColumn inObject)
throws java.rmi.RemoteException
OwningAnalyticColumns list 0th element to be inObject.
inObject - AnalyticColumn
java.rmi.RemoteException - If error communicating with remote object.
void setTextualInformationObjects(AssociationList list)
throws java.rmi.RemoteException
TextualInformationObjects list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setTextualInformationObjects(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setModels(AssociationList list)
throws java.rmi.RemoteException
Models list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setModels(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||