├── fifa2018
├── readme.md
├── Fifa2018.Common
│ ├── Fifa2018.Common.csproj
│ ├── ManOfTheMatchPrediction.cs
│ ├── TeamStatsReaderExtensions.cs
│ └── TeamStatistics.cs
├── Fifa2018.Train
│ ├── Fifa2018.Train.csproj
│ └── Program.cs
├── Fifa2018.Predict
│ ├── Fifa2018.Predict.csproj
│ └── Program.cs
├── Fifa2018.sln
└── .gitignore
├── WhatCardIsThis
├── Objects
│ ├── CardPrediction.cs
│ └── Card.cs
├── readme.md
├── WhatCardIsThis.csproj
├── WhatCardIsThis.sln
└── Program.cs
└── .gitignore
/fifa2018/readme.md:
--------------------------------------------------------------------------------
1 | ## Dataset
2 |
3 | Download the dataset here: [https://www.kaggle.com/mathan/fifa-2018-match-statistics](https://www.kaggle.com/mathan/fifa-2018-match-statistics)
4 |
--------------------------------------------------------------------------------
/WhatCardIsThis/Objects/CardPrediction.cs:
--------------------------------------------------------------------------------
1 | namespace WhatCardIsThis.Objects
2 | {
3 | using Microsoft.ML.Data;
4 | public class CardPrediction
5 | {
6 | [ColumnName("PredictedLabel")]
7 | public string Type { get; set; }
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/fifa2018/Fifa2018.Common/Fifa2018.Common.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/WhatCardIsThis/readme.md:
--------------------------------------------------------------------------------
1 | What card is this?
2 | ==================
3 |
4 | ## Steps:
5 |
6 | ### 1. Create a new console app
7 |
8 | ```
9 | dotnet new console -n WhatCardIsThis
10 | ```
11 |
12 | ### 2. Add the `Microsoft.ML` package
13 |
14 | ```
15 | dotnet add package Microsoft.ML --version 1.5.2
16 | ```
17 |
--------------------------------------------------------------------------------
/WhatCardIsThis/WhatCardIsThis.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/WhatCardIsThis/Objects/Card.cs:
--------------------------------------------------------------------------------
1 | namespace WhatCardIsThis.Objects
2 | {
3 | using Microsoft.ML.Data;
4 | public class Card
5 | {
6 | [LoadColumn(0)]
7 | public string Id { get; set; }
8 |
9 | [LoadColumn(2)]
10 | public string Type { get; set; }
11 |
12 | [LoadColumn(3)]
13 | public string Description { get; set; }
14 | }
15 | }
--------------------------------------------------------------------------------
/fifa2018/Fifa2018.Train/Fifa2018.Train.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/fifa2018/Fifa2018.Predict/Fifa2018.Predict.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/fifa2018/Fifa2018.Common/ManOfTheMatchPrediction.cs:
--------------------------------------------------------------------------------
1 | namespace Fifa2018.Common
2 | {
3 | using Microsoft.ML.Data;
4 | public class ManOfTheMatchPrediction
5 | {
6 | [ColumnName("Label")]
7 | public bool ManOfTheMatch { get; set; }
8 |
9 | [ColumnName(nameof(ManOfTheMatchPrediction.Probability))]
10 | public float Probability { get; set; }
11 |
12 | [ColumnName(nameof(ManOfTheMatchPrediction.Score))]
13 | public float Score { get; set; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/fifa2018/Fifa2018.Common/TeamStatsReaderExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Fifa2018.Common
8 | {
9 | using Microsoft.ML;
10 | public static class TeamStatsReaderExtensions
11 | {
12 | public static IDataView ReadTeamStatistics(this DataOperationsCatalog data, string file)
13 | {
14 | return data.LoadFromTextFile(file, separatorChar: ',', hasHeader: true);
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/fifa2018/Fifa2018.Predict/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Fifa2018.Predict
4 | {
5 | using Fifa2018.Common;
6 | using Microsoft.ML;
7 | class Program
8 | {
9 | static void Main(string[] args)
10 | {
11 | var mlContext = new MLContext();
12 | var modelo = mlContext.Model.Load(args[0], out var schema);
13 | var predictor = mlContext.Model.CreatePredictionEngine(modelo);
14 |
15 |
16 | for ( int i=0; i < 10; i++ )
17 | {
18 | var statistics = new TeamStatistics
19 | {
20 | GoalScored = i
21 | };
22 |
23 | var prediction = predictor.Predict(statistics);
24 |
25 | Console.WriteLine($"Prediction for goals {statistics.GoalScored} {prediction.ManOfTheMatch} - {prediction.Score} - {prediction.Probability}");
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/WhatCardIsThis/WhatCardIsThis.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30711.63
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WhatCardIsThis", "WhatCardIsThis.csproj", "{29E11C1B-3C9F-43BB-BF39-0BBFE293DBBA}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {29E11C1B-3C9F-43BB-BF39-0BBFE293DBBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {29E11C1B-3C9F-43BB-BF39-0BBFE293DBBA}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {29E11C1B-3C9F-43BB-BF39-0BBFE293DBBA}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {29E11C1B-3C9F-43BB-BF39-0BBFE293DBBA}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {71BC92B1-A2D2-4229-A58A-91BB5A08A570}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/fifa2018/Fifa2018.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.808.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Fifa2018.Common", "Fifa2018.Common\Fifa2018.Common.csproj", "{F87F9321-29AA-4D7B-B0D5-A5AA0BE77B52}"
7 | EndProject
8 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Fifa2018.Predict", "Fifa2018.Predict\Fifa2018.Predict.csproj", "{B824C077-2450-4F07-9E29-F8D353D20FEC}"
9 | EndProject
10 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Fifa2018.Train", "Fifa2018.Train\Fifa2018.Train.csproj", "{69A5C7B7-6427-43DE-BD50-2775A501D39C}"
11 | EndProject
12 | Global
13 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
14 | Debug|Any CPU = Debug|Any CPU
15 | Release|Any CPU = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
18 | {F87F9321-29AA-4D7B-B0D5-A5AA0BE77B52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19 | {F87F9321-29AA-4D7B-B0D5-A5AA0BE77B52}.Debug|Any CPU.Build.0 = Debug|Any CPU
20 | {F87F9321-29AA-4D7B-B0D5-A5AA0BE77B52}.Release|Any CPU.ActiveCfg = Release|Any CPU
21 | {F87F9321-29AA-4D7B-B0D5-A5AA0BE77B52}.Release|Any CPU.Build.0 = Release|Any CPU
22 | {B824C077-2450-4F07-9E29-F8D353D20FEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23 | {B824C077-2450-4F07-9E29-F8D353D20FEC}.Debug|Any CPU.Build.0 = Debug|Any CPU
24 | {B824C077-2450-4F07-9E29-F8D353D20FEC}.Release|Any CPU.ActiveCfg = Release|Any CPU
25 | {B824C077-2450-4F07-9E29-F8D353D20FEC}.Release|Any CPU.Build.0 = Release|Any CPU
26 | {69A5C7B7-6427-43DE-BD50-2775A501D39C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27 | {69A5C7B7-6427-43DE-BD50-2775A501D39C}.Debug|Any CPU.Build.0 = Debug|Any CPU
28 | {69A5C7B7-6427-43DE-BD50-2775A501D39C}.Release|Any CPU.ActiveCfg = Release|Any CPU
29 | {69A5C7B7-6427-43DE-BD50-2775A501D39C}.Release|Any CPU.Build.0 = Release|Any CPU
30 | EndGlobalSection
31 | GlobalSection(SolutionProperties) = preSolution
32 | HideSolutionNode = FALSE
33 | EndGlobalSection
34 | GlobalSection(ExtensibilityGlobals) = postSolution
35 | SolutionGuid = {AD638838-B0A8-4A4A-B7CB-F887D6AB59D8}
36 | EndGlobalSection
37 | EndGlobal
38 |
--------------------------------------------------------------------------------
/fifa2018/Fifa2018.Common/TeamStatistics.cs:
--------------------------------------------------------------------------------
1 | namespace Fifa2018.Common
2 | {
3 | using System;
4 | using Microsoft.ML.Data;
5 |
6 | public class TeamStatistics
7 | {
8 | [LoadColumn(0)]
9 | public string MatchDate { get; set; }
10 |
11 | [LoadColumn(1)]
12 | public string Team { get; set; }
13 |
14 | [LoadColumn(2)]
15 | public string Opponent { get; set; }
16 |
17 | [LoadColumn(3)]
18 | public int GoalScored { get; set; }
19 |
20 | [LoadColumn(4)]
21 | public int BallPosession { get; set; }
22 |
23 | [LoadColumn(5)]
24 | public int Attempts { get; set; }
25 |
26 | [LoadColumn(6)]
27 | public int OnTarget { get; set; }
28 |
29 | [LoadColumn(7)]
30 | public int OffTarget { get; set; }
31 |
32 | [LoadColumn(8)]
33 | public int Blocked { get; set; }
34 |
35 | [LoadColumn(9)]
36 | public int Corners { get; set; }
37 |
38 | [LoadColumn(10)]
39 | public int Offsides { get; set; }
40 |
41 | [LoadColumn(11)]
42 | public int FreeKicks { get; set; }
43 |
44 | [LoadColumn(12)]
45 | public int Saves { get; set; }
46 |
47 | [LoadColumn(13)]
48 | public int PassAccuracy { get; set; }
49 |
50 | [LoadColumn(14)]
51 | public int Passes { get; set; }
52 |
53 | [LoadColumn(15)]
54 | public int DistanceCovered { get; set; }
55 |
56 | [LoadColumn(16)]
57 | public int FoulsCommited { get; set; }
58 |
59 | [LoadColumn(17)]
60 | public int YellowCards { get; set; }
61 |
62 | [LoadColumn(19)]
63 | public int RedCards { get; set; }
64 |
65 | [LoadColumn(18)]
66 | public int YellowAndRedCards { get; set; }
67 |
68 | [LoadColumn(20)]
69 | public string ManOfTheMatch { get; set; }
70 |
71 | [LoadColumn(21)]
72 | public int FirstGoalTime { get; set; }
73 |
74 | [LoadColumn(22)]
75 | public string Round { get; set; }
76 |
77 | [LoadColumn(23)]
78 | public string PenaltyShootout { get; set; }
79 |
80 | [LoadColumn(24)]
81 | public int PenaltyShootoutGoals { get; set; }
82 |
83 | [LoadColumn(25)]
84 | public int OwnGoals { get; set; }
85 |
86 | [LoadColumn(26)]
87 | public int FirstOwnGoalTime { get; set; }
88 |
89 | }
90 | }
91 |
--------------------------------------------------------------------------------
/WhatCardIsThis/Program.cs:
--------------------------------------------------------------------------------
1 | namespace WhatCardIsThis
2 | {
3 | using Microsoft.ML;
4 | using System;
5 | using WhatCardIsThis.Objects;
6 |
7 | class Program
8 | {
9 | const string DataInputPath = @"C:\Users\anton\github\ml.net\WhatCardIsThis\Data\cards.csv";
10 | const string ModelPath = @"C:\Users\anton\github\ml.net\WhatCardIsThis\model.zip";
11 |
12 |
13 | private static MLContext _mlContext;
14 | private static PredictionEngine _predEngine;
15 | private static ITransformer _trainedModel;
16 | static IDataView _trainingDataView;
17 |
18 | public static IEstimator ProcessData()
19 | {
20 | var pipeline = _mlContext.Transforms.Conversion.MapValueToKey(outputColumnName: "Label", inputColumnName: nameof(Card.Type))
21 | .Append(_mlContext.Transforms.Text.FeaturizeText(outputColumnName: "Features", inputColumnName: nameof(Card.Description)))
22 | .AppendCacheCheckpoint(_mlContext);
23 |
24 | return pipeline;
25 | }
26 |
27 | public static IEstimator BuildAndTrainModel(IDataView trainingDataView, IEstimator pipeline)
28 | {
29 | var trainingPipeline = pipeline.Append(_mlContext.MulticlassClassification.Trainers.SdcaMaximumEntropy("Label", "Features"))
30 | .Append(_mlContext.Transforms.Conversion.MapKeyToValue("PredictedLabel"));
31 |
32 | _trainedModel = trainingPipeline.Fit(trainingDataView);
33 | _predEngine = _mlContext.Model.CreatePredictionEngine(_trainedModel);
34 |
35 | return trainingPipeline;
36 | }
37 |
38 | static void Main(string[] args)
39 | {
40 | _mlContext = new MLContext();
41 |
42 | // Read data
43 | _trainingDataView = _mlContext.Data.LoadFromTextFile(DataInputPath, hasHeader: true, separatorChar: ',');
44 | var dataSplit = _mlContext.Data.TrainTestSplit(_trainingDataView, testFraction: 0.2);
45 |
46 | var pipeline = ProcessData();
47 |
48 | var trainingPipeline = BuildAndTrainModel(dataSplit.TrainSet, pipeline);
49 |
50 | var aa =_predEngine.Predict(new Card { Description = "This legendary dragon is a powerful engine of destruction. Virtually invincible, very few have faced this awesome creature and lived to tell the tale." });
51 |
52 | _mlContext.Model.Save(_trainedModel, _trainingDataView.Schema, ModelPath);
53 |
54 | Console.WriteLine();
55 | }
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/fifa2018/Fifa2018.Train/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Fifa2018.Train
4 | {
5 | using Microsoft.ML;
6 | using System.Linq;
7 | using Fifa2018.Common;
8 | class Train
9 | {
10 | static void Main(string[] args)
11 | {
12 | var mlContext = new MLContext();
13 |
14 | var data = mlContext.Data.ReadTeamStatistics(args[0]);
15 |
16 | var trainingData = mlContext.Data.TrainTestSplit(data);
17 |
18 | var booleanMap = mlContext.Data.LoadFromEnumerable(new[]
19 | {
20 | new { StringValue = "Yes", Value = true },
21 | new { StringValue = "No", Value = false },
22 | });
23 | var transformLabel = mlContext.Transforms.Conversion.MapValue(
24 | outputColumnName: "Label",
25 | lookupMap: booleanMap,
26 | keyColumn: booleanMap.Schema[0],
27 | valueColumn: booleanMap.Schema[1],
28 | inputColumnName: nameof(TeamStatistics.ManOfTheMatch)
29 | );
30 |
31 | var convertGoalScored = mlContext.Transforms.Conversion.ConvertType(
32 | outputColumnName: nameof(TeamStatistics.GoalScored),
33 | inputColumnName: nameof(TeamStatistics.GoalScored)
34 | );
35 |
36 | var convertBallPosession = mlContext.Transforms.Conversion.ConvertType(
37 | outputColumnName: nameof(TeamStatistics.BallPosession),
38 | inputColumnName: nameof(TeamStatistics.BallPosession)
39 | );
40 |
41 | var convertAttempts = mlContext.Transforms.Conversion.ConvertType(
42 | outputColumnName: nameof(TeamStatistics.Attempts),
43 | inputColumnName: nameof(TeamStatistics.Attempts)
44 | );
45 |
46 | var convertOnTarget = mlContext.Transforms.Conversion.ConvertType(
47 | outputColumnName: nameof(TeamStatistics.OnTarget),
48 | inputColumnName: nameof(TeamStatistics.OnTarget)
49 | );
50 |
51 |
52 | var scaleFeatures = mlContext.Transforms.NormalizeMeanVariance(
53 | new InputOutputColumnPair[]
54 | {
55 | new InputOutputColumnPair(nameof(TeamStatistics.GoalScored), nameof(TeamStatistics.GoalScored)),
56 | new InputOutputColumnPair(nameof(TeamStatistics.BallPosession), nameof(TeamStatistics.BallPosession)),
57 | new InputOutputColumnPair(nameof(TeamStatistics.Attempts), nameof(TeamStatistics.Attempts)),
58 | new InputOutputColumnPair(nameof(TeamStatistics.OnTarget), nameof(TeamStatistics.OnTarget)),
59 | }
60 | );
61 |
62 | var appendFeatures = mlContext.Transforms.Concatenate(
63 | outputColumnName: "Features",
64 | nameof(TeamStatistics.GoalScored),
65 | nameof(TeamStatistics.BallPosession),
66 | nameof(TeamStatistics.Attempts),
67 | nameof(TeamStatistics.OnTarget)
68 | );
69 |
70 |
71 | var classifier = mlContext.BinaryClassification.Trainers.LinearSvm(
72 | labelColumnName: "Label"
73 | );
74 | var transformPipeline = transformLabel
75 | .Append(convertOnTarget)
76 | .Append(convertGoalScored)
77 | .Append(convertBallPosession)
78 | .Append(convertAttempts)
79 | .Append(scaleFeatures)
80 | .Append(appendFeatures);
81 |
82 | var predictPipeline = transformPipeline.Append(classifier);
83 | var trainedModel = predictPipeline.Fit(trainingData.TrainSet);
84 |
85 | var metricas = mlContext.BinaryClassification.EvaluateNonCalibrated(
86 | data: trainedModel.Transform(trainingData.TestSet),
87 | labelColumnName: "Label"
88 | );
89 |
90 | Console.WriteLine("Metricas:");
91 | Console.WriteLine($"\tExactitud: {metricas.Accuracy:0.###}");
92 | Console.WriteLine($"\tPrecision: {metricas.PositivePrecision:0.###}");
93 | Console.WriteLine($"\tRecall: {metricas.PositiveRecall:0.###}");
94 |
95 | mlContext.Model.Save(
96 | model: trainedModel,
97 | inputSchema: data.Schema,
98 | filePath: args[1]
99 | );
100 | }
101 | }
102 | }
103 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # Created by https://www.toptal.com/developers/gitignore/api/visualstudio,windows
3 | # Edit at https://www.toptal.com/developers/gitignore?templates=visualstudio,windows
4 |
5 | ### Windows ###
6 | # Windows thumbnail cache files
7 | Thumbs.db
8 | Thumbs.db:encryptable
9 | ehthumbs.db
10 | ehthumbs_vista.db
11 |
12 | # Dump file
13 | *.stackdump
14 |
15 | # Folder config file
16 | [Dd]esktop.ini
17 |
18 | # Recycle Bin used on file shares
19 | $RECYCLE.BIN/
20 |
21 | # Windows Installer files
22 | *.cab
23 | *.msi
24 | *.msix
25 | *.msm
26 | *.msp
27 |
28 | # Windows shortcuts
29 | *.lnk
30 |
31 | ### VisualStudio ###
32 | ## Ignore Visual Studio temporary files, build results, and
33 | ## files generated by popular Visual Studio add-ons.
34 | ##
35 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
36 |
37 | # User-specific files
38 | *.rsuser
39 | *.suo
40 | *.user
41 | *.userosscache
42 | *.sln.docstates
43 |
44 | # User-specific files (MonoDevelop/Xamarin Studio)
45 | *.userprefs
46 |
47 | # Mono auto generated files
48 | mono_crash.*
49 |
50 | # Build results
51 | [Dd]ebug/
52 | [Dd]ebugPublic/
53 | [Rr]elease/
54 | [Rr]eleases/
55 | x64/
56 | x86/
57 | [Aa][Rr][Mm]/
58 | [Aa][Rr][Mm]64/
59 | bld/
60 | [Bb]in/
61 | [Oo]bj/
62 | [Ll]og/
63 | [Ll]ogs/
64 |
65 | # Visual Studio 2015/2017 cache/options directory
66 | .vs/
67 | # Uncomment if you have tasks that create the project's static files in wwwroot
68 | #wwwroot/
69 |
70 | # Visual Studio 2017 auto generated files
71 | Generated\ Files/
72 |
73 | # MSTest test Results
74 | [Tt]est[Rr]esult*/
75 | [Bb]uild[Ll]og.*
76 |
77 | # NUnit
78 | *.VisualState.xml
79 | TestResult.xml
80 | nunit-*.xml
81 |
82 | # Build Results of an ATL Project
83 | [Dd]ebugPS/
84 | [Rr]eleasePS/
85 | dlldata.c
86 |
87 | # Benchmark Results
88 | BenchmarkDotNet.Artifacts/
89 |
90 | # .NET Core
91 | project.lock.json
92 | project.fragment.lock.json
93 | artifacts/
94 |
95 | # StyleCop
96 | StyleCopReport.xml
97 |
98 | # Files built by Visual Studio
99 | *_i.c
100 | *_p.c
101 | *_h.h
102 | *.ilk
103 | *.meta
104 | *.obj
105 | *.iobj
106 | *.pch
107 | *.pdb
108 | *.ipdb
109 | *.pgc
110 | *.pgd
111 | *.rsp
112 | *.sbr
113 | *.tlb
114 | *.tli
115 | *.tlh
116 | *.tmp
117 | *.tmp_proj
118 | *_wpftmp.csproj
119 | *.log
120 | *.vspscc
121 | *.vssscc
122 | .builds
123 | *.pidb
124 | *.svclog
125 | *.scc
126 |
127 | # Chutzpah Test files
128 | _Chutzpah*
129 |
130 | # Visual C++ cache files
131 | ipch/
132 | *.aps
133 | *.ncb
134 | *.opendb
135 | *.opensdf
136 | *.sdf
137 | *.cachefile
138 | *.VC.db
139 | *.VC.VC.opendb
140 |
141 | # Visual Studio profiler
142 | *.psess
143 | *.vsp
144 | *.vspx
145 | *.sap
146 |
147 | # Visual Studio Trace Files
148 | *.e2e
149 |
150 | # TFS 2012 Local Workspace
151 | $tf/
152 |
153 | # Guidance Automation Toolkit
154 | *.gpState
155 |
156 | # ReSharper is a .NET coding add-in
157 | _ReSharper*/
158 | *.[Rr]e[Ss]harper
159 | *.DotSettings.user
160 |
161 | # TeamCity is a build add-in
162 | _TeamCity*
163 |
164 | # DotCover is a Code Coverage Tool
165 | *.dotCover
166 |
167 | # AxoCover is a Code Coverage Tool
168 | .axoCover/*
169 | !.axoCover/settings.json
170 |
171 | # Coverlet is a free, cross platform Code Coverage Tool
172 | coverage*[.json, .xml, .info]
173 |
174 | # Visual Studio code coverage results
175 | *.coverage
176 | *.coveragexml
177 |
178 | # NCrunch
179 | _NCrunch_*
180 | .*crunch*.local.xml
181 | nCrunchTemp_*
182 |
183 | # MightyMoose
184 | *.mm.*
185 | AutoTest.Net/
186 |
187 | # Web workbench (sass)
188 | .sass-cache/
189 |
190 | # Installshield output folder
191 | [Ee]xpress/
192 |
193 | # DocProject is a documentation generator add-in
194 | DocProject/buildhelp/
195 | DocProject/Help/*.HxT
196 | DocProject/Help/*.HxC
197 | DocProject/Help/*.hhc
198 | DocProject/Help/*.hhk
199 | DocProject/Help/*.hhp
200 | DocProject/Help/Html2
201 | DocProject/Help/html
202 |
203 | # Click-Once directory
204 | publish/
205 |
206 | # Publish Web Output
207 | *.[Pp]ublish.xml
208 | *.azurePubxml
209 | # Note: Comment the next line if you want to checkin your web deploy settings,
210 | # but database connection strings (with potential passwords) will be unencrypted
211 | *.pubxml
212 | *.publishproj
213 |
214 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
215 | # checkin your Azure Web App publish settings, but sensitive information contained
216 | # in these scripts will be unencrypted
217 | PublishScripts/
218 |
219 | # NuGet Packages
220 | *.nupkg
221 | # NuGet Symbol Packages
222 | *.snupkg
223 | # The packages folder can be ignored because of Package Restore
224 | **/[Pp]ackages/*
225 | # except build/, which is used as an MSBuild target.
226 | !**/[Pp]ackages/build/
227 | # Uncomment if necessary however generally it will be regenerated when needed
228 | #!**/[Pp]ackages/repositories.config
229 | # NuGet v3's project.json files produces more ignorable files
230 | *.nuget.props
231 | *.nuget.targets
232 |
233 | # Microsoft Azure Build Output
234 | csx/
235 | *.build.csdef
236 |
237 | # Microsoft Azure Emulator
238 | ecf/
239 | rcf/
240 |
241 | # Windows Store app package directories and files
242 | AppPackages/
243 | BundleArtifacts/
244 | Package.StoreAssociation.xml
245 | _pkginfo.txt
246 | *.appx
247 | *.appxbundle
248 | *.appxupload
249 |
250 | # Visual Studio cache files
251 | # files ending in .cache can be ignored
252 | *.[Cc]ache
253 | # but keep track of directories ending in .cache
254 | !?*.[Cc]ache/
255 |
256 | # Others
257 | ClientBin/
258 | ~$*
259 | *~
260 | *.dbmdl
261 | *.dbproj.schemaview
262 | *.jfm
263 | *.pfx
264 | *.publishsettings
265 | orleans.codegen.cs
266 |
267 | # Including strong name files can present a security risk
268 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
269 | #*.snk
270 |
271 | # Since there are multiple workflows, uncomment next line to ignore bower_components
272 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
273 | #bower_components/
274 |
275 | # RIA/Silverlight projects
276 | Generated_Code/
277 |
278 | # Backup & report files from converting an old project file
279 | # to a newer Visual Studio version. Backup files are not needed,
280 | # because we have git ;-)
281 | _UpgradeReport_Files/
282 | Backup*/
283 | UpgradeLog*.XML
284 | UpgradeLog*.htm
285 | ServiceFabricBackup/
286 | *.rptproj.bak
287 |
288 | # SQL Server files
289 | *.mdf
290 | *.ldf
291 | *.ndf
292 |
293 | # Business Intelligence projects
294 | *.rdl.data
295 | *.bim.layout
296 | *.bim_*.settings
297 | *.rptproj.rsuser
298 | *- [Bb]ackup.rdl
299 | *- [Bb]ackup ([0-9]).rdl
300 | *- [Bb]ackup ([0-9][0-9]).rdl
301 |
302 | # Microsoft Fakes
303 | FakesAssemblies/
304 |
305 | # GhostDoc plugin setting file
306 | *.GhostDoc.xml
307 |
308 | # Node.js Tools for Visual Studio
309 | .ntvs_analysis.dat
310 | node_modules/
311 |
312 | # Visual Studio 6 build log
313 | *.plg
314 |
315 | # Visual Studio 6 workspace options file
316 | *.opt
317 |
318 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
319 | *.vbw
320 |
321 | # Visual Studio LightSwitch build output
322 | **/*.HTMLClient/GeneratedArtifacts
323 | **/*.DesktopClient/GeneratedArtifacts
324 | **/*.DesktopClient/ModelManifest.xml
325 | **/*.Server/GeneratedArtifacts
326 | **/*.Server/ModelManifest.xml
327 | _Pvt_Extensions
328 |
329 | # Paket dependency manager
330 | .paket/paket.exe
331 | paket-files/
332 |
333 | # FAKE - F# Make
334 | .fake/
335 |
336 | # CodeRush personal settings
337 | .cr/personal
338 |
339 | # Python Tools for Visual Studio (PTVS)
340 | __pycache__/
341 | *.pyc
342 |
343 | # Cake - Uncomment if you are using it
344 | # tools/**
345 | # !tools/packages.config
346 |
347 | # Tabs Studio
348 | *.tss
349 |
350 | # Telerik's JustMock configuration file
351 | *.jmconfig
352 |
353 | # BizTalk build output
354 | *.btp.cs
355 | *.btm.cs
356 | *.odx.cs
357 | *.xsd.cs
358 |
359 | # OpenCover UI analysis results
360 | OpenCover/
361 |
362 | # Azure Stream Analytics local run output
363 | ASALocalRun/
364 |
365 | # MSBuild Binary and Structured Log
366 | *.binlog
367 |
368 | # NVidia Nsight GPU debugger configuration file
369 | *.nvuser
370 |
371 | # MFractors (Xamarin productivity tool) working folder
372 | .mfractor/
373 |
374 | # Local History for Visual Studio
375 | .localhistory/
376 |
377 | # BeatPulse healthcheck temp database
378 | healthchecksdb
379 |
380 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
381 | MigrationBackup/
382 |
383 | # Ionide (cross platform F# VS Code tools) working folder
384 | .ionide/
385 |
386 | # End of https://www.toptal.com/developers/gitignore/api/visualstudio,windows
387 |
--------------------------------------------------------------------------------
/fifa2018/.gitignore:
--------------------------------------------------------------------------------
1 | fifa2018.csv
2 |
3 | # globs
4 | Makefile.in
5 | *.userprefs
6 | *.usertasks
7 | config.make
8 | config.status
9 | aclocal.m4
10 | install-sh
11 | autom4te.cache/
12 | *.tar.gz
13 | tarballs/
14 | test-results/
15 |
16 | # Mac bundle stuff
17 | *.dmg
18 | *.app
19 |
20 | # content below from: https://github.com/github/gitignore/blob/main/Global/macOS.gitignore
21 | # General
22 | .DS_Store
23 | .AppleDouble
24 | .LSOverride
25 |
26 | # Icon must end with two \r
27 | Icon
28 |
29 |
30 | # Thumbnails
31 | ._*
32 |
33 | # Files that might appear in the root of a volume
34 | .DocumentRevisions-V100
35 | .fseventsd
36 | .Spotlight-V100
37 | .TemporaryItems
38 | .Trashes
39 | .VolumeIcon.icns
40 | .com.apple.timemachine.donotpresent
41 |
42 | # Directories potentially created on remote AFP share
43 | .AppleDB
44 | .AppleDesktop
45 | Network Trash Folder
46 | Temporary Items
47 | .apdisk
48 |
49 | # content below from: https://github.com/github/gitignore/blob/main/Global/Windows.gitignore
50 | # Windows thumbnail cache files
51 | Thumbs.db
52 | ehthumbs.db
53 | ehthumbs_vista.db
54 |
55 | # Dump file
56 | *.stackdump
57 |
58 | # Folder config file
59 | [Dd]esktop.ini
60 |
61 | # Recycle Bin used on file shares
62 | $RECYCLE.BIN/
63 |
64 | # Windows Installer files
65 | *.cab
66 | *.msi
67 | *.msix
68 | *.msm
69 | *.msp
70 |
71 | # Windows shortcuts
72 | *.lnk
73 |
74 | # content below from: https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
75 | ## Ignore Visual Studio temporary files, build results, and
76 | ## files generated by popular Visual Studio add-ons.
77 | ##
78 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
79 |
80 | # User-specific files
81 | *.suo
82 | *.user
83 | *.userosscache
84 | *.sln.docstates
85 |
86 | # User-specific files (MonoDevelop/Xamarin Studio)
87 | *.userprefs
88 |
89 | # Build results
90 | [Dd]ebug/
91 | [Dd]ebugPublic/
92 | [Rr]elease/
93 | [Rr]eleases/
94 | x64/
95 | x86/
96 | bld/
97 | [Bb]in/
98 | [Oo]bj/
99 | [Ll]og/
100 |
101 | # Visual Studio 2015/2017 cache/options directory
102 | .vs/
103 | # Uncomment if you have tasks that create the project's static files in wwwroot
104 | #wwwroot/
105 |
106 | # Visual Studio 2017 auto generated files
107 | Generated\ Files/
108 |
109 | # MSTest test Results
110 | [Tt]est[Rr]esult*/
111 | [Bb]uild[Ll]og.*
112 |
113 | # NUNIT
114 | *.VisualState.xml
115 | TestResult.xml
116 |
117 | # Build Results of an ATL Project
118 | [Dd]ebugPS/
119 | [Rr]eleasePS/
120 | dlldata.c
121 |
122 | # Benchmark Results
123 | BenchmarkDotNet.Artifacts/
124 |
125 | # .NET Core
126 | project.lock.json
127 | project.fragment.lock.json
128 | artifacts/
129 |
130 | # StyleCop
131 | StyleCopReport.xml
132 |
133 | # Files built by Visual Studio
134 | *_i.c
135 | *_p.c
136 | *_h.h
137 | *.ilk
138 | *.meta
139 | *.obj
140 | *.iobj
141 | *.pch
142 | *.pdb
143 | *.ipdb
144 | *.pgc
145 | *.pgd
146 | *.rsp
147 | *.sbr
148 | *.tlb
149 | *.tli
150 | *.tlh
151 | *.tmp
152 | *.tmp_proj
153 | *_wpftmp.csproj
154 | *.log
155 | *.vspscc
156 | *.vssscc
157 | .builds
158 | *.pidb
159 | *.svclog
160 | *.scc
161 |
162 | # Chutzpah Test files
163 | _Chutzpah*
164 |
165 | # Visual C++ cache files
166 | ipch/
167 | *.aps
168 | *.ncb
169 | *.opendb
170 | *.opensdf
171 | *.sdf
172 | *.cachefile
173 | *.VC.db
174 | *.VC.VC.opendb
175 |
176 | # Visual Studio profiler
177 | *.psess
178 | *.vsp
179 | *.vspx
180 | *.sap
181 |
182 | # Visual Studio Trace Files
183 | *.e2e
184 |
185 | # TFS 2012 Local Workspace
186 | $tf/
187 |
188 | # Guidance Automation Toolkit
189 | *.gpState
190 |
191 | # ReSharper is a .NET coding add-in
192 | _ReSharper*/
193 | *.[Rr]e[Ss]harper
194 | *.DotSettings.user
195 |
196 | # JustCode is a .NET coding add-in
197 | .JustCode
198 |
199 | # TeamCity is a build add-in
200 | _TeamCity*
201 |
202 | # DotCover is a Code Coverage Tool
203 | *.dotCover
204 |
205 | # AxoCover is a Code Coverage Tool
206 | .axoCover/*
207 | !.axoCover/settings.json
208 |
209 | # Visual Studio code coverage results
210 | *.coverage
211 | *.coveragexml
212 |
213 | # NCrunch
214 | _NCrunch_*
215 | .*crunch*.local.xml
216 | nCrunchTemp_*
217 |
218 | # MightyMoose
219 | *.mm.*
220 | AutoTest.Net/
221 |
222 | # Web workbench (sass)
223 | .sass-cache/
224 |
225 | # Installshield output folder
226 | [Ee]xpress/
227 |
228 | # DocProject is a documentation generator add-in
229 | DocProject/buildhelp/
230 | DocProject/Help/*.HxT
231 | DocProject/Help/*.HxC
232 | DocProject/Help/*.hhc
233 | DocProject/Help/*.hhk
234 | DocProject/Help/*.hhp
235 | DocProject/Help/Html2
236 | DocProject/Help/html
237 |
238 | # Click-Once directory
239 | publish/
240 |
241 | # Publish Web Output
242 | *.[Pp]ublish.xml
243 | *.azurePubxml
244 | # Note: Comment the next line if you want to checkin your web deploy settings,
245 | # but database connection strings (with potential passwords) will be unencrypted
246 | *.pubxml
247 | *.publishproj
248 |
249 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
250 | # checkin your Azure Web App publish settings, but sensitive information contained
251 | # in these scripts will be unencrypted
252 | PublishScripts/
253 |
254 | # NuGet Packages
255 | *.nupkg
256 | # The packages folder can be ignored because of Package Restore
257 | **/[Pp]ackages/*
258 | # except build/, which is used as an MSBuild target.
259 | !**/[Pp]ackages/build/
260 | # Uncomment if necessary however generally it will be regenerated when needed
261 | #!**/[Pp]ackages/repositories.config
262 | # NuGet v3's project.json files produces more ignorable files
263 | *.nuget.props
264 | *.nuget.targets
265 |
266 | # Microsoft Azure Build Output
267 | csx/
268 | *.build.csdef
269 |
270 | # Microsoft Azure Emulator
271 | ecf/
272 | rcf/
273 |
274 | # Windows Store app package directories and files
275 | AppPackages/
276 | BundleArtifacts/
277 | Package.StoreAssociation.xml
278 | _pkginfo.txt
279 | *.appx
280 |
281 | # Visual Studio cache files
282 | # files ending in .cache can be ignored
283 | *.[Cc]ache
284 | # but keep track of directories ending in .cache
285 | !*.[Cc]ache/
286 |
287 | # Others
288 | ClientBin/
289 | ~$*
290 | *~
291 | *.dbmdl
292 | *.dbproj.schemaview
293 | *.jfm
294 | *.pfx
295 | *.publishsettings
296 | orleans.codegen.cs
297 |
298 | # Including strong name files can present a security risk
299 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
300 | #*.snk
301 |
302 | # Since there are multiple workflows, uncomment next line to ignore bower_components
303 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
304 | #bower_components/
305 |
306 | # RIA/Silverlight projects
307 | Generated_Code/
308 |
309 | # Backup & report files from converting an old project file
310 | # to a newer Visual Studio version. Backup files are not needed,
311 | # because we have git ;-)
312 | _UpgradeReport_Files/
313 | Backup*/
314 | UpgradeLog*.XML
315 | UpgradeLog*.htm
316 | ServiceFabricBackup/
317 | *.rptproj.bak
318 |
319 | # SQL Server files
320 | *.mdf
321 | *.ldf
322 | *.ndf
323 |
324 | # Business Intelligence projects
325 | *.rdl.data
326 | *.bim.layout
327 | *.bim_*.settings
328 | *.rptproj.rsuser
329 |
330 | # Microsoft Fakes
331 | FakesAssemblies/
332 |
333 | # GhostDoc plugin setting file
334 | *.GhostDoc.xml
335 |
336 | # Node.js Tools for Visual Studio
337 | .ntvs_analysis.dat
338 | node_modules/
339 |
340 | # Visual Studio 6 build log
341 | *.plg
342 |
343 | # Visual Studio 6 workspace options file
344 | *.opt
345 |
346 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
347 | *.vbw
348 |
349 | # Visual Studio LightSwitch build output
350 | **/*.HTMLClient/GeneratedArtifacts
351 | **/*.DesktopClient/GeneratedArtifacts
352 | **/*.DesktopClient/ModelManifest.xml
353 | **/*.Server/GeneratedArtifacts
354 | **/*.Server/ModelManifest.xml
355 | _Pvt_Extensions
356 |
357 | # Paket dependency manager
358 | .paket/paket.exe
359 | paket-files/
360 |
361 | # FAKE - F# Make
362 | .fake/
363 |
364 | # JetBrains Rider
365 | .idea/
366 | *.sln.iml
367 |
368 | # CodeRush personal settings
369 | .cr/personal
370 |
371 | # Python Tools for Visual Studio (PTVS)
372 | __pycache__/
373 | *.pyc
374 |
375 | # Cake - Uncomment if you are using it
376 | # tools/**
377 | # !tools/packages.config
378 |
379 | # Tabs Studio
380 | *.tss
381 |
382 | # Telerik's JustMock configuration file
383 | *.jmconfig
384 |
385 | # BizTalk build output
386 | *.btp.cs
387 | *.btm.cs
388 | *.odx.cs
389 | *.xsd.cs
390 |
391 | # OpenCover UI analysis results
392 | OpenCover/
393 |
394 | # Azure Stream Analytics local run output
395 | ASALocalRun/
396 |
397 | # MSBuild Binary and Structured Log
398 | *.binlog
399 |
400 | # NVidia Nsight GPU debugger configuration file
401 | *.nvuser
402 |
403 | # MFractors (Xamarin productivity tool) working folder
404 | .mfractor/
405 |
406 | # Local History for Visual Studio
407 | .localhistory/
408 |
409 | ###
410 |
411 | .vscode/*
412 | fifa2018.csv
413 |
414 |
--------------------------------------------------------------------------------