|
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 | |
---|---|
java.lang.String |
getEvent()
Gets the String value of Event |
int |
getEventMaxLength()
Gets the maximum length of Event |
int |
getEventState()
Gets the Metadata State of Event |
AssociationList |
getFitStatistics()
Gets the AssociationList of FitStatistics |
AssociationList |
getFitStatistics(boolean fGoToServer)
Gets the Associationlist of FitStatistics |
AssociationList |
getModels()
Gets the Association list of Models |
AssociationList |
getModels(boolean fGoToServer)
Gets the Associationlist of Models |
AnalyticColumn |
getOwningAnalyticColumn()
Gets the AnalyticColumn for OwningAnalyticColumn |
AssociationList |
getOwningAnalyticColumns()
Gets the AssociationList of OwningAnalyticColumns |
AssociationList |
getOwningAnalyticColumns(boolean fGoToServer)
Gets the Associationlist of OwningAnalyticColumns |
AssociationList |
getTextualInformationObjects()
Gets the AssociationList of TextualInformationObjects |
AssociationList |
getTextualInformationObjects(boolean fGoToServer)
Gets the Associationlist of TextualInformationObjects |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: FitStatistics OwningAnalyticColumn TextualInformationObjects |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningAnalyticColumn |
void |
setEvent(java.lang.String inEvent)
Sets the Event value and sets the state to MetadataState.LOCAL. |
void |
setEvent(java.lang.String inEvent,
int state)
Sets the Event Metadata State. |
void |
setEventState(int state)
Sets the Metadata State of Event . |
void |
setFitStatistics(AssociationList list)
Sets the FitStatistics list to be list . |
void |
setFitStatistics(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setModels(AssociationList list)
Sets the Models list to be list . |
void |
setModels(AssociationList inObjects,
int state)
Sets the entire Models list to match the passed in AssociationList, sets the state of the Models |
void |
setOwningAnalyticColumn(AnalyticColumn inObject)
Sets the OwningAnalyticColumns list 0th element to be inObject . |
void |
setOwningAnalyticColumns(AssociationList list)
Sets the OwningAnalyticColumns list to be list . |
void |
setOwningAnalyticColumns(AssociationList list,
int state)
Sets the OwningAnalyticColumns list to be list . |
void |
setTextualInformationObjects(AssociationList list)
Sets the TextualInformationObjects list to be list . |
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 MdObjectBaseUtil
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
FitStatistics
OwningAnalyticColumn
TextualInformationObjects
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
java.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 OwningAnalyticColumn
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() 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 |