You are Qwen, created by Alibaba Cloud. You are a helpful assistant.Specifications: This…
- User
You are Qwen, created by Alibaba Cloud. You are a helpful assistant.Specifications: This assignment will test your understanding of the machine learning techniques discussed in the first six modules. You will be required to perform machine learning analysis to explore and make predictions about a provided dataset of instances. You have been provided with a dataset (GameData.csv Download GameData.csv) containing information about a variety of board games, sourced from the Ludii general game system (https://ludii.games/Links to an external site.). An overview of this dataset is provided below:
- The first column of the dataset (GameName) provides a unique name for each instance.
- The last five columns (Category, Region, OriginYear, BestAgent and UCT) represent five different labels or target values that need to be predicted.
- Category: A high-level taxonomy used to organise games
- Region: The region of the world where this game originates
- OriginYear: The date where this game was first recorded (negative numbers indicate BC/BCE years, while positive numbers indicate AD/CE years)
- BestAgent: The best currently available AI for playing this game
- UCT: The average win-rate of a simple UCT-based game playing AI
- The remaining columns represent ludeme keywords that are used to describe games in the Ludii software. The values in each cell indicate the number of times each ludeme is used by each game. These ludeme values make up the feature set. Your task is to use the ludeme values for a game to train and compare prediction models for each of the five labels (Category, Region, OriginYear, BestAgent and UCT). These labels must be predicted independently (i.e., you cannot use the value from one label to help you predict the value for another label). Once you have identified the best prediction model for each label, you should use these to predict the missing label values for the following five instances (GameData_Predictions.csv Download GameData_Predictions.csv). Make sure to include your label predictions in your written report. This assignment has been kept open-ended to allow you to explore / analyse the dataset and perform machine learning predictions as you deem fit. However, you should ensure that you satisfy the necessary requirements laid out in the provided rubric to obtain each grade level. Running a couple of simple prediction models with a basic train-test split evaluation to compare them is not sufficient!
i want to try linearregrission on to predict UCT only, can you help me do that according to instructions and data GameData.csv sample: GameName,String_java.lang.String,Off_int,End_int,int_int,Undefined_int,Piece_game.equipment.component.Piece,Board_game.equipment.container.board.Board,MancalaBoard_game.equipment.container.board.custom.MancalaBoard,Track_game.equipment.container.board.Track,Dice_game.equipment.container.other.Dice,Hand_game.equipment.container.other.Hand,Equipment_game.equipment.Equipment,Map_game.equipment.other.Map,Regions_game.equipment.other.Regions,All_game.functions.booleans.all.All,Can_game.functions.booleans.can.Can,Is_game.functions.booleans.is.Is,And_game.functions.booleans.math.And,Equals_game.functions.booleans.math.Equals,Ge_game.functions.booleans.math.Ge,Gt_game.functions.booleans.math.Gt,If_game.functions.booleans.math.If,Le_game.functions.booleans.math.Le,Lt_game.functions.booleans.math.Lt,Not_game.functions.booleans.math.Not,NotEqual_game.functions.booleans.math.NotEqual,Or_game.functions.booleans.math.Or,No_game.functions.booleans.no.No,Was_game.functions.booleans.was.Was,Mul_game.functions.dim.math.Mul,Difference_game.functions.directions.Difference,Directions_game.functions.directions.Directions,If_game.functions.directions.If,Div_game.functions.floats.math.Div,Mul_game.functions.floats.math.Mul,Sub_game.functions.floats.math.Sub,Square_game.functions.graph.generators.basis.square.Square,Tri_game.functions.graph.generators.basis.tri.Tri,Concentric_game.functions.graph.generators.shape.concentric.Concentric,Rectangle_game.functions.graph.generators.shape.Rectangle,Regular_game.functions.graph.generators.shape.Regular,Repeat_game.functions.graph.generators.shape.Repeat,Spiral_game.functions.graph.generators.shape.Spiral,Wedge_game.functions.graph.generators.shape.Wedge,Add_game.functions.graph.operators.Add,Hole_game.functions.graph.operators.Hole,MakeFaces_game.functions.graph.operators.MakeFaces,Merge_game.functions.graph.operators.Merge,Remove_game.functions.graph.operators.Remove,Rotate_game.functions.graph.operators.Rotate,Scale_game.functions.graph.operators.Scale,Shift_game.functions.graph.operators.Shift,SplitCrossings_game.functions.graph.operators.SplitCrossings,Array_game.functions.intArray.array.Array,Results_game.functions.intArray.math.Results,Union_game.functions.intArray.math.Union,Values_game.functions.intArray.values.Values,Ahead_game.functions.ints.board.Ahead,CentrePoint_game.functions.ints.board.CentrePoint,Column_game.functions.ints.board.Column,Coord_game.functions.ints.board.Coord,HandSite_game.functions.ints.board.HandSite,Id_game.functions.ints.board.Id,MapEntry_game.functions.ints.board.MapEntry,RegionSite_game.functions.ints.board.RegionSite,Row_game.functions.ints.board.Row,Where_game.functions.ints.board.where.Where,Count_game.functions.ints.count.Count,Face_game.functions.ints.dice.Face,Between_game.functions.ints.iterator.Between,From_game.functions.ints.iterator.From,Level_game.functions.ints.iterator.Level,Pips_game.functions.ints.iterator.Pips,Player_game.functions.ints.iterator.Player,Site_game.functions.ints.iterator.Site,To_game.functions.ints.iterator.To,Last_game.functions.ints.last.Last,Add_game.functions.ints.math.Add,Div_game.functions.ints.math.Div,If_game.functions.ints.math.If,Max_game.functions.ints.math.Max,Min_game.functions.ints.math.Min,Mod_game.functions.ints.math.Mod,Mul_game.functions.ints.math.Mul,Sub_game.functions.ints.math.Sub,Size_game.functions.ints.size.Size,TopLevel_game.functions.ints.stacking.TopLevel,Amount_game.functions.ints.state.Amount,Counter_game.functions.ints.state.Counter,Mover_game.functions.ints.state.Mover,Next_game.functions.ints.state.Next,Pot_game.functions.ints.state.Pot,Score_game.functions.ints.state.Score,State_game.functions.ints.state.State,Var_game.functions.ints.state.Var,What_game.functions.ints.state.What,Who_game.functions.ints.state.Who,TrackSite_game.functions.ints.trackSite.TrackSite,Value_game.functions.ints.value.Value,Exact_game.functions.range.math.Exact,Max_game.functions.range.math.Max,Min_game.functions.range.math.Min,Range_game.functions.range.Range,ForEach_game.functions.region.foreach.ForEach,Difference_game.functions.region.math.Difference,Expand_game.functions.region.math.Expand,If_game.functions.region.math.If,Intersection_game.functions.region.math.Intersection,Union_game.functions.region.math.Union,Sites_game.functions.region.sites.Sites,Game_game.Game,Player_game.players.Player,Players_game.players.Players,ByScore_game.rules.end.ByScore,End_game.rules.end.End,ForEach_game.rules.end.ForEach,If_game.rules.end.If,Result_game.rules.end.Result,Meta_game.rules.meta.Meta,No_game.rules.meta.no.No,NextPhase_game.rules.phase.NextPhase,Phase_game.rules.phase.Phase,Move_game.rules.play.moves.decision.Move,Add_game.rules.play.moves.nonDecision.effect.Add,Apply_game.rules.play.moves.nonDecision.effect.Apply,Custodial_game.rules.play.moves.nonDecision.effect.Custodial,Directional_game.rules.play.moves.nonDecision.effect.Directional,Enclose_game.rules.play.moves.nonDecision.effect.Enclose,Flip_game.rules.play.moves.nonDecision.effect.Flip,FromTo_game.rules.play.moves.nonDecision.effect.FromTo,Hop_game.rules.play.moves.nonDecision.effect.Hop,Intervene_game.rules.play.moves.nonDecision.effect.Intervene,Note_game.rules.play.moves.nonDecision.effect.Note,Pass_game.rules.play.moves.nonDecision.effect.Pass,Promote_game.rules.play.moves.nonDecision.effect.Promote,Remove_game.rules.play.moves.nonDecision.effect.Remove,Do_game.rules.play.moves.nonDecision.effect.requirement.Do,FirstMoveOnTrack_game.rules.play.moves.nonDecision.effect.requirement.FirstMoveOnTrack,Max_game.rules.play.moves.nonDecision.effect.requirement.max.Max,Priority_game.rules.play.moves.nonDecision.effect.requirement.Priority,Roll_game.rules.play.moves.nonDecision.effect.Roll,Set_game.rules.play.moves.nonDecision.effect.set.Set,Slide_game.rules.play.moves.nonDecision.effect.Slide,Sow_game.rules.play.moves.nonDecision.effect.Sow,AddScore_game.rules.play.moves.nonDecision.effect.state.AddScore,Forget_game.rules.play.moves.nonDecision.effect.state.forget.Forget,MoveAgain_game.rules.play.moves.nonDecision.effect.state.MoveAgain,Remember_game.rules.play.moves.nonDecision.effect.state.remember.Remember,Step_game.rules.play.moves.nonDecision.effect.Step,Surround_game.rules.play.moves.nonDecision.effect.Surround,Then_game.rules.play.moves.nonDecision.effect.Then,Trigger_game.rules.play.moves.nonDecision.effect.Trigger,ForEach_game.rules.play.moves.nonDecision.operators.foreach.ForEach,And_game.rules.play.moves.nonDecision.operators.logical.And,If_game.rules.play.moves.nonDecision.operators.logical.If,Or_game.rules.play.moves.nonDecision.operators.logical.Or,Play_game.rules.play.Play,Rules_game.rules.Rules,ForEach_game.rules.start.forEach.ForEach,Place_game.rules.start.place.Place,Set_game.rules.start.set.Set,Start_game.rules.start.Start,Score_game.util.end.Score,Poly_game.util.graph.Poly,Pair_game.util.math.Pair,Between_game.util.moves.Between,Flips_game.util.moves.Flips,From_game.util.moves.From,Piece_game.util.moves.Piece,Player_game.util.moves.Player,To_game.util.moves.To,DiceUsed_game.functions.booleans.all.AllSimpleType,DiceEqual_game.functions.booleans.all.AllSimpleType,Passed_game.functions.booleans.all.AllSimpleType,Sites_game.functions.booleans.all.AllSitesType,Move_game.functions.booleans.can.CanType,Threatened_game.functions.booleans.is.IsComponentType,Within_game.functions.booleans.is.IsComponentType,Odd_game.functions.booleans.is.IsIntegerType,Even_game.functions.booleans.is.IsIntegerType,Visited_game.functions.booleans.is.IsIntegerType,AnyDie_game.functions.booleans.is.IsIntegerType,In_game.functions.booleans.is.IsInType,Line_game.functions.booleans.is.IsLineType,Pattern_game.functions.booleans.is.IsPatternType,Mover_game.functions.booleans.is.IsPlayerType,Next_game.functions.booleans.is.IsPlayerType,Prev_game.functions.booleans.is.IsPlayerType,Friend_game.functions.booleans.is.IsPlayerType,Enemy_game.functions.booleans.is.IsPlayerType,Active_game.functions.booleans.is.IsPlayerType,Related_game.functions.booleans.is.IsRelationType,Cycle_game.functions.booleans.is.IsSimpleType,Pending_game.functions.booleans.is.IsSimpleType,Full_game.functions.booleans.is.IsSimpleType,Empty_game.functions.booleans.is.IsSiteType,Occupied_game.functions.booleans.is.IsSiteType,Proposed_game.functions.booleans.is.IsStringType,Decided_game.functions.booleans.is.IsStringType,Target_game.functions.booleans.is.IsTargetType,Triggered_game.functions.booleans.is.IsTriggeredType,Moves_game.functions.booleans.no.NoMoveType,Pieces_game.functions.booleans.no.NoPieceType,Pass_game.functions.booleans.was.WasType,Solid_game.functions.graph.generators.basis.square.DiagonalsType,Alternating_game.functions.graph.generators.basis.square.DiagonalsType,Radiating_game.functions.graph.generators.basis.square.DiagonalsType,Square_game.functions.graph.generators.shape.concentric.ConcentricShapeType,Triangle_game.functions.graph.generators.shape.concentric.ConcentricShapeType,Hexagon_game.functions.graph.generators.shape.concentric.ConcentricShapeType,Star_game.functions.graph.generators.shape.ShapeStarType,Remembered_game.functions.intArray.values.ValuesStringType,Pieces_game.functions.ints.count.CountComponentType,Pips_game.functions.ints.count.CountComponentType,Liberties_game.functions.ints.count.CountLibertiesType,Rows_game.functions.ints.count.CountSimpleType,Turns_game.functions.ints.count.CountSimpleType,Moves_game.functions.ints.count.CountSimpleType,MovesThisTurn_game.functions.ints.count.CountSimpleType,Sites_game.functions.ints.count.CountSiteType,Steps_game.functions.ints.count.CountStepsType,From_game.functions.ints.last.LastType,To_game.functions.ints.last.LastType,Array_game.functions.ints.size.SizeArrayType,Stack_game.functions.ints.size.SizeSiteType,Territory_game.functions.ints.size.SizeTerritoryType,Move_game.functions.ints.trackSite.TrackSiteMoveType,EndSite_game.functions.ints.trackSite.TrackSiteType,Piece_game.functions.ints.value.ValueComponentType,Player_game.functions.ints.value.ValuePlayerType,Random_game.functions.ints.value.ValueRandomType,Pending_game.functions.ints.value.ValueSimpleType,Around_game.functions.region.sites.SitesAroundType,Direction_game.functions.region.sites.SitesDirectionType,Distance_game.functions.region.sites.SitesDistanceType,Row_game.functions.region.sites.SitesIndexType,Column_game.functions.region.sites.SitesIndexType,Phase_game.functions.region.sites.SitesIndexType,Empty_game.functions.region.sites.SitesIndexType,From_game.functions.region.sites.SitesMoveType,To_game.functions.region.sites.SitesMoveType,Occupied_game.functions.region.sites.SitesOccupiedType,Start_game.functions.region.sites.SitesPieceType,Hand_game.functions.region.sites.SitesPlayerType,Board_game.functions.region.sites.SitesSimpleType,Top_game.functions.region.sites.SitesSimpleType,Bottom_game.functions.region.sites.SitesSimpleType,Left_game.functions.region.sites.SitesSimpleType,Right_game.functions.region.sites.SitesSimpleType,Outer_game.functions.region.sites.SitesSimpleType,Corners_game.functions.region.sites.SitesSimpleType,Centre_game.functions.region.sites.SitesSimpleType,ToClear_game.functions.region.sites.SitesSimpleType,Pending_game.functions.region.sites.SitesSimpleType,Track_game.functions.region.sites.SitesTrackType,Repeat_game.rules.meta.no.NoRepeatType,Bet_game.rules.play.moves.decision.MoveBetType,Hop_game.rules.play.moves.decision.MoveHopType,Leap_game.rules.play.moves.decision.MoveLeapType,Propose_game.rules.play.moves.decision.MoveMessageType,Vote_game.rules.play.moves.decision.MoveMessageType,Promote_game.rules.play.moves.decision.MovePromoteType,Remove_game.rules.play.moves.decision.MoveRemoveType,Select_game.rules.play.moves.decision.MoveSelectType,Pass_game.rules.play.moves.decision.MoveSimpleType,Add_game.rules.play.moves.decision.MoveSiteType,Slide_game.rules.play.moves.decision.MoveSlideType,Step_game.rules.play.moves.decision.MoveStepType,Swap_game.rules.play.moves.decision.MoveSwapType,Distance_game.rules.play.moves.nonDecision.effect.requirement.max.MaxDistanceType,Moves_game.rules.play.moves.nonDecision.effect.requirement.max.MaxMovesType,NextPlayer_game.rules.play.moves.nonDecision.effect.set.SetNextPlayerType,Pending_game.rules.play.moves.nonDecision.effect.set.SetPendingType,Value_game.rules.play.moves.nonDecision.effect.set.SetPlayerType,Score_game.rules.play.moves.nonDecision.effect.set.SetPlayerType,Count_game.rules.play.moves.nonDecision.effect.set.SetSiteType,State_game.rules.play.moves.nonDecision.effect.set.SetSiteType,Value_game.rules.play.moves.nonDecision.effect.set.SetSiteType,Counter_game.rules.play.moves.nonDecision.effect.set.SetValueType,Pot_game.rules.play.moves.nonDecision.effect.set.SetValueType,Var_game.rules.play.moves.nonDecision.effect.set.SetVarType,All_game.rules.play.moves.nonDecision.effect.state.forget.ForgetValueAllType,Value_game.rules.play.moves.nonDecision.effect.state.forget.ForgetValueType,Value_game.rules.play.moves.nonDecision.effect.state.remember.RememberValueType,Pieces_game.rules.play.moves.nonDecision.effect.state.swap.SwapSitesType,Die_game.rules.play.moves.nonDecision.operators.foreach.ForEachDieType,Direction_game.rules.play.moves.nonDecision.operators.foreach.ForEachDirectionType,Level_game.rules.play.moves.nonDecision.operators.foreach.ForEachLevelType,Piece_game.rules.play.moves.nonDecision.operators.foreach.ForEachPieceType,Site_game.rules.play.moves.nonDecision.operators.foreach.ForEachSiteType,Value_game.rules.play.moves.nonDecision.operators.foreach.ForEachValueType,Value_game.rules.start.forEach.ForEachStartValueType,Stack_game.rules.start.place.PlaceStackType,RememberValue_game.rules.start.set.SetRememberValueType,Team_game.rules.start.set.SetStartPlayersType,Count_game.rules.start.set.SetStartSitesType,FirstSite_game.types.board.LandmarkType,LastSite_game.types.board.LandmarkType,Own_game.types.board.RegionTypeDynamic,Orthogonal_game.types.board.RelationType,Diagonal_game.types.board.RelationType,All_game.types.board.RelationType,Vertex_game.types.board.SiteType,Edge_game.types.board.SiteType,Cell_game.types.board.SiteType,F_game.types.board.StepType,L_game.types.board.StepType,R_game.types.board.StepType,None_game.types.board.StoreType,Win_game.types.play.ResultType,Loss_game.types.play.ResultType,Draw_game.types.play.ResultType,Neutral_game.types.play.RoleType,P1_game.types.play.RoleType,P2_game.types.play.RoleType,P3_game.types.play.RoleType,P4_game.types.play.RoleType,P5_game.types.play.RoleType,P6_game.types.play.RoleType,P7_game.types.play.RoleType,P8_game.types.play.RoleType,P9_game.types.play.RoleType,P10_game.types.play.RoleType,P11_game.types.play.RoleType,P12_game.types.play.RoleType,P13_game.types.play.RoleType,P14_game.types.play.RoleType,P15_game.types.play.RoleType,P16_game.types.play.RoleType,Team1_game.types.play.RoleType,Team2_game.types.play.RoleType,TeamMover_game.types.play.RoleType,Each_game.types.play.RoleType,Shared_game.types.play.RoleType,All_game.types.play.RoleType,Mover_game.types.play.RoleType,Next_game.types.play.RoleType,Prev_game.types.play.RoleType,NonMover_game.types.play.RoleType,Enemy_game.types.play.RoleType,Player_game.types.play.RoleType,EndOfTurn_game.types.play.WhenType,All_game.util.directions.AbsoluteDirection,Adjacent_game.util.directions.AbsoluteDirection,Orthogonal_game.util.directions.AbsoluteDirection,Diagonal_game.util.directions.AbsoluteDirection,Rotational_game.util.directions.AbsoluteDirection,N_game.util.directions.AbsoluteDirection,E_game.util.directions.AbsoluteDirection,S_game.util.directions.AbsoluteDirection,W_game.util.directions.AbsoluteDirection,NE_game.util.directions.AbsoluteDirection,SE_game.util.directions.AbsoluteDirection,NW_game.util.directions.AbsoluteDirection,SW_game.util.directions.AbsoluteDirection,CW_game.util.directions.AbsoluteDirection,CCW_game.util.directions.AbsoluteDirection,Out_game.util.directions.AbsoluteDirection,N_game.util.directions.CompassDirection,E_game.util.directions.CompassDirection,S_game.util.directions.CompassDirection,W_game.util.directions.CompassDirection,Forward_game.util.directions.RelativeDirection,Backward_game.util.directions.RelativeDirection,Rightward_game.util.directions.RelativeDirection,Leftward_game.util.directions.RelativeDirection,Forwards_game.util.directions.RelativeDirection,Backwards_game.util.directions.RelativeDirection,Rightwards_game.util.directions.RelativeDirection,Leftwards_game.util.directions.RelativeDirection,FL_game.util.directions.RelativeDirection,FLL_game.util.directions.RelativeDirection,BL_game.util.directions.RelativeDirection,BLL_game.util.directions.RelativeDirection,FR_game.util.directions.RelativeDirection,FRR_game.util.directions.RelativeDirection,BR_game.util.directions.RelativeDirection,BRR_game.util.directions.RelativeDirection,SameDirection_game.util.directions.RelativeDirection,OppositeDirection_game.util.directions.RelativeDirection,Category,Region,OriginYear,BestAgent,UCT Senet,55,2,2,18,0,1,1,0,2,1,1,1,1,10,0,0,9,1,4,0,0,2,0,1,2,2,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,15,0,0,2,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,5,12,0,0,0,0,0,0,1,1,0,0,0,16,1,0,1,1,1,0,1,0,0,0,1,2,5,0,2,0,0,0,0,0,0,0,0,0,0,2,2,0,0,1,2,1,0,0,2,0,1,0,0,0,3,0,2,0,9,0,2,1,0,2,0,1,0,0,5,0,0,2,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,14,0,0,0,1,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Race,Northern Africa,-2970,Progressive History,64
- Assistant