您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > 数据挖掘与识别 > 大数据数据挖掘培训讲义3:概念,属性和实例
Input:Concepts,Attributes,Instances2ModuleOutlineTerminologyWhat’saconcept?Classification,association,clustering,numericpredictionWhat’sinanexample?Relations,flatfiles,recursionWhat’sinanattribute?Nominal,ordinal,interval,ratioPreparingtheinputARFF,attributes,missingvalues,gettingtoknowdatawitten&eibe3TerminologyComponentsoftheinput:Concepts:kindsofthingsthatcanbelearnedAim:intelligibleandoperationalconceptdescriptionInstances:theindividual,independentexamplesofaconceptNote:morecomplicatedformsofinputarepossibleAttributes:measuringaspectsofaninstanceWewillfocusonnominalandnumericoneswitten&eibe4What’saconcept?DataMiningTasks(Stylesoflearning):Classificationlearning:predictingadiscreteclassAssociationlearning:detectingassociationsbetweenfeaturesClustering:groupingsimilarinstancesintoclustersNumericprediction:predictinganumericquantityConcept:thingtobelearnedConceptdescription:outputoflearningschemewitten&eibe5ClassificationlearningExampleproblems:attritionprediction,usingDNAdatafordiagnosis,weatherdatatopredictplay/notplayClassificationlearningissupervisedSchemeisbeingprovidedwithactualoutcomeOutcomeiscalledtheclassoftheexampleSuccesscanbemeasuredonfreshdataforwhichclasslabelsareknown(testdata)Inpracticesuccessisoftenmeasuredsubjectively6AssociationlearningExamples:supermarketbasketanalysis-whatitemsareboughttogether(e.g.milk+cereal,chips+salsa)Canbeappliedifnoclassisspecifiedandanykindofstructureisconsidered“interesting”Differencewithclassificationlearning:Canpredictanyattribute’svalue,notjusttheclass,andmorethanoneattribute’svalueatatimeHence:farmoreassociationrulesthanclassificationrulesThus:constraintsarenecessaryMinimumcoverageandminimumaccuracy7ClusteringExamples:customergroupingFindinggroupsofitemsthataresimilarClusteringisunsupervisedTheclassofanexampleisnotknownSuccessoftenmeasuredsubjectivelySepallengthSepalwidthPetallengthPetalwidthType15.13.51.40.2Irissetosa24.93.01.40.2Irissetosa…517.03.24.71.4Irisversicolor526.43.24.51.5Irisversicolor…1016.33.36.02.5Irisvirginica1025.82.75.11.9Irisvirginica…witten&eibe8NumericpredictionClassificationlearning,but“class”isnumericLearningissupervisedSchemeisbeingprovidedwithtargetvalueMeasuresuccessontestdataOutlookTemperatureHumidityWindyPlay-timeSunnyHotHighFalse5SunnyHotHighTrue0OvercastHotHighFalse55RainyMildNormalFalse40……………witten&eibe9What’sinanexample?Instance:specifictypeofexampleThingtobeclassified,associated,orclusteredIndividual,independentexampleoftargetconceptCharacterizedbyapredeterminedsetofattributesInputtolearningscheme:setofinstances/datasetRepresentedasasinglerelation/flatfileRatherrestrictedformofinputNorelationshipsbetweenobjectsMostcommonforminpracticaldataminingwitten&eibe10AfamilytreePeterMPeggyF=StevenMGrahamMPamFGraceFRayM=IanMPippaFBrianM=AnnaFNikkiFwitten&eibe11FamilytreerepresentedasatableNameGenderParent1parent2PeterMale??PeggyFemale??StevenMalePeterPeggyGrahamMalePeterPeggyPamFemalePeterPeggyIanMaleGraceRayPippaFemaleGraceRayBrianMaleGraceRayAnnaFemalePamIanNikkiFemalePamIanwitten&eibe12The“sister-of”relationFirstpersonSecondpersonSisterof?PeterPeggyNoPeterStevenNo………StevenPeterNoStevenGrahamNoStevenPamYes………IanPippaYes………AnnaNikkiYes………NikkiAnnayesFirstpersonSecondpersonSisterof?StevenPamYesGrahamPamYesIanPippaYesBrianPippaYesAnnaNikkiYesNikkiAnnaYesAlltherestNoClosed-worldassumptionwitten&eibe13AfullrepresentationinonetableFirstpersonSecondpersonSisterof?NameGenderParent1Parent2NameGenderParent1Parent2StevenMalePeterPeggyPamFemalePeterPeggyYesGrahamMalePeterPeggyPamFemalePeterPeggyYesIanMaleGraceRayPippaFemaleGraceRayYesBrianMaleGraceRayPippaFemaleGraceRayYesAnnaFemalePamIanNikkiFemalePamIanYesNikkiFemalePamIanAnnaFemalePamIanYesAlltherestNoIfsecondperson’sgender=femaleandfirstperson’sparent=secondperson’sparentthensister-of=yeswitten&eibe14GeneratingaflatfileProcessofflatteningafileiscalled“denormalization”SeveralrelationsarejoinedtogethertomakeonePossiblewithanyfinitesetoffiniterelationsProblematic:relationshipswithoutpre-specifiednumberofobjectsExample:conceptofnuclear-familyDenormalizationmayproducespuriousregularitiesthatreflectstructureofdatabaseExample:“supplier”predicts“supplieraddress”witten&eibe18What’sinanattribute?Eachinstanceisdescribedbyafixedpredefinedsetoffeatures,its“attributes”But:numberofattributesmayvaryinpracticePossiblesolution:“irrelevantvalue”flagRelatedproblem:existenceofanattributemaydependofvalueofanotheronePossibleattributetypes(“levelsofmeasurement”):Nominal,ordinal,intervalandratiowitten&eibe19NominalquantitiesValuesaredistinctsymbolsValuesthemselvesserveonlyaslabelsornamesNominalcomesfromtheLatinwordfornameExample:attribute“outlook”fromweatherdataValues:“sunny”,”overcast”,and“rainy”Norelationisimpliedamongnominalvalues(noorderingordistancemeasure)Onlyequalitytestscanbeperformedwitten&eibe20OrdinalquantitiesImposeorderonvaluesBut:nodistancebetweenvaluesdefinedExample:attribute“temperature”inweatherdataValues:“hot”“mild”“co
本文标题:大数据数据挖掘培训讲义3:概念,属性和实例
链接地址:https://www.777doc.com/doc-6224209 .html