-
-
Save mdfarragher/32751809253c6d475db99a1269edd482 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Linq; | |
using Microsoft.ML; | |
using Microsoft.ML.Data; | |
using CNTK; | |
using CNTKUtil; | |
using XPlot.Plotly; | |
namespace SpamDetection | |
{ | |
/// <summary> | |
/// The SpamData class contains one single message which may be spam or ham. | |
/// </summary> | |
public class SpamData | |
{ | |
[LoadColumn(0)] public string Label { get; set; } | |
[LoadColumn(1)] public string Message { get; set; } | |
} | |
// the rest of the code goes here... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment