C:\Users\Tomek\Anaconda3\python.exe C:/Users/Tomek/PycharmProjects/programminglanguagerecognition/TrainNetwork.py ExampleData/Cpp/connectedcomponents.cpp ExampleData/Cpp/half.cpp ExampleData/Cpp/ImfPizCompressor.cpp ExampleData/Cpp/ImfRleCompressor.cpp ExampleData/Cpp/ImfZipCompressor.cpp {'c++': [1, 0, 0], 'java': [0, 1, 0], 'python': [0, 0, 1]} iteration 0 test accuracy 0.287356 learn accuracy 0.325905 iteration 100 test accuracy 0.475096 learn accuracy 0.449582 iteration 200 test accuracy 0.601533 learn accuracy 0.576602 iteration 300 test accuracy 0.862069 learn accuracy 0.884123 iteration 400 test accuracy 0.793103 learn accuracy 0.784958 iteration 500 test accuracy 0.842912 learn accuracy 0.849582 iteration 600 test accuracy 0.83908 learn accuracy 0.844011 iteration 700 test accuracy 0.873563 learn accuracy 0.877994 iteration 800 test accuracy 0.934866 learn accuracy 0.959331 iteration 900 test accuracy 0.950192 learn accuracy 0.95376 iteration 1000 test accuracy 0.877395 learn accuracy 0.878552 iteration 1100 test accuracy 0.923372 learn accuracy 0.947075 iteration 1200 test accuracy 0.896552 learn accuracy 0.906407 iteration 1300 test accuracy 0.931035 learn accuracy 0.954875 iteration 1400 test accuracy 0.942529 learn accuracy 0.958217 iteration 1500 test accuracy 0.900383 learn accuracy 0.909192 iteration 1600 test accuracy 0.94636 learn accuracy 0.962674 iteration 1700 test accuracy 0.954023 learn accuracy 0.964903 iteration 1800 test accuracy 0.942529 learn accuracy 0.961003 iteration 1900 test accuracy 0.934866 learn accuracy 0.942618 iteration 2000 test accuracy 0.94636 learn accuracy 0.960446 iteration 2100 test accuracy 0.94636 learn accuracy 0.963788 iteration 2200 test accuracy 0.950192 learn accuracy 0.963788 iteration 2300 test accuracy 0.950192 learn accuracy 0.964903 iteration 2400 test accuracy 0.950192 learn accuracy 0.964345 iteration 2500 test accuracy 0.950192 learn accuracy 0.953203 iteration 2600 test accuracy 0.954023 learn accuracy 0.960446 iteration 2700 test accuracy 0.957854 learn accuracy 0.966574 iteration 2800 test accuracy 0.950192 learn accuracy 0.953203 iteration 2900 test accuracy 0.957854 learn accuracy 0.966574 iteration 3000 test accuracy 0.950192 learn accuracy 0.967131 iteration 3100 test accuracy 0.950192 learn accuracy 0.969359 iteration 3200 test accuracy 0.950192 learn accuracy 0.971031 iteration 3300 test accuracy 0.94636 learn accuracy 0.952089 iteration 3400 test accuracy 0.961686 learn accuracy 0.970474 iteration 3500 test accuracy 0.950192 learn accuracy 0.969916 iteration 3600 test accuracy 0.954023 learn accuracy 0.969916 iteration 3700 test accuracy 0.957854 learn accuracy 0.969359 iteration 3800 test accuracy 0.957854 learn accuracy 0.969916 iteration 3900 test accuracy 0.954023 learn accuracy 0.967131 iteration 4000 test accuracy 0.950192 learn accuracy 0.969359 iteration 4100 test accuracy 0.965517 learn accuracy 0.971588 iteration 4200 test accuracy 0.965517 learn accuracy 0.969916 iteration 4300 test accuracy 0.961686 learn accuracy 0.971031 iteration 4400 test accuracy 0.950192 learn accuracy 0.971031 iteration 4500 test accuracy 0.954023 learn accuracy 0.966574 iteration 4600 test accuracy 0.954023 learn accuracy 0.972145 iteration 4700 test accuracy 0.957854 learn accuracy 0.969359 iteration 4800 test accuracy 0.950192 learn accuracy 0.971031 iteration 4900 test accuracy 0.954023 learn accuracy 0.971588 Python accuracy: 1.0 C++ accuracy: 0.924051 Java accuracy: 0.946667 {"language_dict": {"c++": [1, 0, 0], "java": [0, 1, 0], "python": [0, 0, 1]}, "keys": ["!", "\"", "#", "%", "&", "'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "10", "100", "15", "16", "1e", "2", "20", "2000", "2008", "2009", "2015", "2016", "255", "3", "32F", "32FC1", "4", "5", "6", "64F", "7", "8", "8U", "8UC1", "9", ":", ";", "<", "=", ">", "?", "@", "A", "ADVISED", "AND", "ANY", "ARE", "ARISING", "AS", "ASL", "Agreement", "All", "An", "Apache", "Args", "ArrayList", "Assert", "Authors", "BASIS", "BE", "BEFORE", "BUSINESS", "BUT", "BY", "By", "C", "CAUSED", "CONDITIONS", "CONSEQUENTIAL", "CONTRACT", "CONTRIBUTORS", "COPYING", "COPYRIGHT", "CV", "Class", "Commercial", "Computer", "Copyright", "Corporation", "Create", "DAMAGE", "DAMAGES", "DATA", "DIRECT", "DISCLAIMED", "DOWNLOADING", "DSL", "Data", "EVEN", "EVENT", "EXEMPLARY", "EXPRESS", "Eder", "Error", "Exception", "FITNESS", "FOR", "False", "Field", "For", "GOODS", "Garage", "Geekery", "Generated", "GmbH", "HAVE", "HOLDERS", "HOWEVER", "IF", "IMPLIED", "IMPORTANT", "IN", "INCIDENTAL", "INCLUDING", "INDIRECT", "INSTALLING", "INTERRUPTION", "IS", "If", "In", "Inc", "InputArray", "Integer", "Intel", "It", "KIND", "LIABILITY", "LIABLE", "LICENSE", "LIMITED", "LOSS", "Library", "License", "Licensed", "List", "Lukas", "M", "MAT", "MAX", "MERCHANTABILITY", "Mat", "NEGLIGENCE", "NO", "NOT", "NULL", "Neither", "None", "Note", "OF", "ON", "OR", "OTHERWISE", "OUT", "OWNER", "Object", "Open", "OpenCV", "Other", "OutputArray", "Override", "PARTICULAR", "POSSIBILITY", "PROCUREMENT", "PROFITS", "PROVIDED", "PURPOSE", "Point", "Ptr", "READ", "Raises", "Record", "Redistribution", "Redistributions", "Reserved", "Returns", "Rights", "SERVICES", "SHALL", "SOFTWARE", "SPECIAL", "SQL", "STRICT", "SUBSTITUTE", "SUCH", "Scalar", "See", "Size", "Source", "String", "SuppressWarnings", "T", "TEST", "THE", "THEORY", "THIS", "TO", "TODO", "TORT", "Tensor", "TensorFlow", "TestCase", "Tests", "The", "These", "Third", "This", "True", "TypeError", "USE", "USING", "Unless", "ValueError", "Variable", "Version", "Vision", "WARRANTIES", "WAY", "WHETHER", "WITHOUT", "We", "Willow", "You", "[", "\\", "]", "_", "`", "a", "above", "absolute", "add", "advised", "after", "agree", "agreed", "all", "also", "an", "and", "annotation", "any", "apache", "append", "applicable", "are", "args", "argument", "arguments", "arising", "array", "as", "assert", "assertAllClose", "assertEqual", "assertTrue", "at", "author", "available", "b", "back", "batch", "be", "because", "begin", "binary", "bool", "boolean", "break", "buf", "business", "but", "by", "byte", "c", "call", "can", "case", "cast", "catch", "caused", "channels", "char", "check", "class", "classes", "clear", "code", "cols", "com", "commercial", "compliance", "compute", "conditions", "consequential", "const", "constant", "continue", "contract", "contrib", "contributors", "control", "convert", "convertTo", "copy", "copyTo", "copying", "copyright", "copyrights", "count", "create", "cv", "cvtest", "d", "damage", "damages", "data", "database", "datageekery", "def", "default", "define", "defined", "depth", "derived", "dict", "different", "direct", "disable", "disclaimed", "disclaimer", "distributed", "distribution", "division", "do", "documentation", "does", "double", "download", "downloading", "dst", "dtype", "dtypes", "e", "each", "either", "elements", "elif", "else", "empty", "end", "endif", "endorse", "equal", "equals", "error", "eval", "even", "event", "example", "except", "exemplary", "expected", "express", "extends", "f", "false", "field", "fields", "file", "final", "find", "first", "fitness", "float", "float32", "following", "for", "form", "format", "forms", "framework", "from", "function", "future", "g", "generated", "get", "getMat", "given", "global", "goods", "google", "governing", "graph", "h", "has", "have", "height", "holders", "however", "hpp", "http", "https", "i", "idx", "if", "ifdef", "image", "img", "impl", "implementation", "implements", "implied", "import", "in", "incidental", "include", "including", "index", "indices", "indirect", "information", "init", "initializer", "input", "inputs", "install", "installing", "instance", "instanceof", "int", "int32", "int64", "integrations", "interface", "interruption", "into", "io", "is", "isinstance", "it", "its", "j", "jOOQ", "java", "javax", "join", "jooq", "k", "key", "keys", "lambda", "lang", "language", "last", "law", "len", "length", "liability", "liable", "license", "licenses", "like", "limitations", "limited", "link", "list", "log", "logging", "long", "loss", "m", "main", "maintenance", "make", "mask", "match", "materials", "math", "max", "may", "mean", "merchantability", "met", "method", "min", "model", "modification", "more", "must", "n", "name", "names", "namespace", "need", "negligence", "new", "no", "non", "nor", "not", "notice", "np", "null", "num", "number", "numpy", "object", "obtain", "of", "offer", "on", "one", "ones", "only", "op", "opencv2", "operation", "operator", "ops", "or", "order", "org", "os", "other", "otherwise", "out", "output", "outputs", "owners", "p", "package", "param", "particular", "party", "pass", "path", "permission", "permissions", "permitted", "placeholder", "please", "possibility", "precomp", "print", "prior", "private", "procurement", "products", "profits", "promote", "property", "protected", "provided", "ptr", "public", "purpose", "push", "pylint", "python", "r", "raise", "random", "range", "rawtypes", "re", "read", "records", "reduce", "release", "replace", "reproduce", "required", "reserved", "reshape", "resize", "respective", "result", "retain", "return", "returns", "rights", "row", "rows", "run", "s", "same", "scalar", "scale", "scope", "see", "seed", "self", "serialVersionUID", "services", "sess", "session", "set", "shall", "shape", "shapes", "should", "single", "six", "size", "sizeof", "so", "software", "some", "source", "special", "specific", "specified", "sql", "sqrt", "src", "start", "static", "std", "step", "str", "strict", "string", "struct", "substitute", "such", "sum", "super", "support", "switch", "t", "table", "tables", "template", "tensor", "tensorflow", "tensors", "test", "tf", "than", "that", "the", "their", "then", "theory", "there", "this", "throw", "throws", "time", "to", "toString", "tools", "tort", "total", "train", "training", "true", "try", "tuple", "two", "type", "typedef", "types", "uchar", "unchecked", "under", "unsigned", "up", "update", "use", "used", "using", "util", "v", "val", "value", "values", "variable", "variables", "vector", "virtual", "visit", "void", "warranties", "was", "way", "we", "when", "where", "whether", "which", "while", "width", "will", "with", "without", "work", "writing", "written", "www", "x", "y", "you", "zero", "zeros", "zip", "{", "|", "}", "~"]} Process finished with exit code 0