code
stringlengths
1
1.49M
vector
listlengths
0
7.38k
snippet
listlengths
0
7.38k
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.43, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.74, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.21, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.53, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.86, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.77, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.62, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.62, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.07, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.25, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.69, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.55, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.32, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.6, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.72, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.68, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.87, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.2, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.23, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.5, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.2, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.18, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.5, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.75, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.27, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.23, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.62, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.23, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.73, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.81, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.36, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.43, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.91, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.96, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.53, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.53, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.2051, 0.0128, 0, 0.66, 0, 192, 0, 1, 0, 0, 192, 0, 0 ], [ 1, 0, 0.2179, 0.0128, 0, 0.66, 0.0345, 905, 0, 1, 0, 0, 905, 0, 0 ], [ 1, 0, 0.2308, 0.0128, 0, ...
[ "import cvarray", "import mp_map", "import numpy_help_cpp", "import prog_bar", "import python_obj_cpp", "import setProcName", "import start_cpp", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('utils.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Ut...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrig...
[ [ 1, 0, 0.3636, 0.0227, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 2, 0, 0.5682, 0.25, 0, 0.66, 0.5, 903, 0, 1, 0, 0, 0, 0, 9 ], [ 8, 1, 0.4773, 0.0227, 1, 0.46, ...
[ "from ctypes import *", "def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin...
#! /usr/bin/env python # Copyright 2011 Tom SF Haines # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agree...
[ [ 1, 0, 0.2955, 0.0227, 0, 0.66, 0, 712, 0, 1, 0, 0, 712, 0, 0 ], [ 1, 0, 0.3182, 0.0227, 0, 0.66, 0.0588, 291, 0, 1, 0, 0, 291, 0, 0 ], [ 14, 0, 0.3636, 0.0227, 0, ...
[ "import dpgmm", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('dpgmm.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Dirichlet Process Gaussian Mixture Model</title>\\n')", "out.write('</head>\\n')", "out.write('<body>\\n')", "readme = open('readme.txt','...
# Copyright 2011 Tom SF Haines # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, softwar...
[ [ 1, 0, 0.0833, 0.0076, 0, 0.66, 0, 526, 0, 1, 0, 0, 526, 0, 0 ], [ 1, 0, 0.0909, 0.0076, 0, 0.66, 0.3333, 954, 0, 1, 0, 0, 954, 0, 0 ], [ 3, 0, 0.447, 0.6591, 0, 0...
[ "import math", "import numpy", "class PrecisionLOO:\n \"\"\"Given a large number of samples this uses leave one out to calculate the optimal symetric precision matrix. Standard griding solution.\"\"\"\n def __init__(self):\n \"\"\"Initilises with no samples but a default grid of 10^-2 to 10 in 128 incrimen...
# Copyright 2011 Tom SF Haines # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, softwar...
[ [ 1, 0, 0.0643, 0.0058, 0, 0.66, 0, 526, 0, 1, 0, 0, 526, 0, 0 ], [ 1, 0, 0.0702, 0.0058, 0, 0.66, 0.25, 954, 0, 1, 0, 0, 954, 0, 0 ], [ 1, 0, 0.0819, 0.0058, 0, 0....
[ "import math", "import numpy", "from loo_cov import PrecisionLOO, SubsetPrecisionLOO # Not used below, just for conveniance.", "from gmm import GMM", "class KDE_INC:\n \"\"\"Provides an incrimental kernel density estimate system that uses Gaussians. A kernel density estimate system with Gaussian kernels th...
# Copyright 2011 Tom SF Haines # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, softwar...
[ [ 1, 0, 0.1774, 0.0161, 0, 0.66, 0, 526, 0, 1, 0, 0, 526, 0, 0 ], [ 1, 0, 0.1935, 0.0161, 0, 0.66, 0.5, 954, 0, 1, 0, 0, 954, 0, 0 ], [ 3, 0, 0.629, 0.7581, 0, 0.66...
[ "import math", "import numpy", "class GMM:\n \"\"\"Contains a Gaussian mixture model - just a list of weights, means and precision matrices. List is of fixed size, and it has functions to determine the probability of a point in space. Components with a weight of zero are often computationally ignored. Initiali...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2011 Tom SF Haines # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by...
[ [ 1, 0, 0.3137, 0.0196, 0, 0.66, 0, 373, 0, 1, 0, 0, 373, 0, 0 ], [ 1, 0, 0.3333, 0.0196, 0, 0.66, 0.0588, 291, 0, 1, 0, 0, 291, 0, 0 ], [ 14, 0, 0.3725, 0.0196, 0, ...
[ "import kde_inc", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('kde_inc.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Incrimental capped KDE</title>\\n')", "out.write('</head>\\n')", "out.write('<body>\\n')", "readme = open('readme.txt','r').read()", ...
# Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
[ [ 1, 0, 0.2167, 0.0167, 0, 0.66, 0, 79, 0, 1, 0, 0, 79, 0, 0 ], [ 1, 0, 0.2333, 0.0167, 0, 0.66, 0.3333, 848, 0, 1, 0, 0, 848, 0, 0 ], [ 1, 0, 0.25, 0.0167, 0, 0.66...
[ "import os.path", "import pickle", "import numpy", "class Iris1D:\n \"\"\"1D interface to the iris data set - uses pca to make it a 1D problem that is good for extremelly simple tests/demonstrations.\"\"\"\n def __init__(self):\n # First load the data from the file...\n directory = os.path.dirname(os....
# Copyright 2011 Tom SF Haines # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, softwar...
[ [ 1, 0, 0.1594, 0.0145, 0, 0.66, 0, 954, 0, 1, 0, 0, 954, 0, 0 ], [ 1, 0, 0.1739, 0.0145, 0, 0.66, 0.3333, 917, 0, 1, 0, 0, 917, 0, 0 ], [ 1, 0, 0.2029, 0.0145, 0, ...
[ "import numpy", "from kde_inc.kde_inc import KDE_INC", "from prob_cat import ProbCat", "class ClassifyKDE(ProbCat):\n \"\"\"A classifier that uses the incrimental kernel density estimate model for each category. It keeps a 'psuedo-prior', a KDE_IDE with an (optionally) larger variance that contains all the s...
# Copyright 2011 Tom SF Haines # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, softwar...
[ [ 3, 0, 0.5655, 0.881, 0, 0.66, 0, 432, 0, 9, 0, 0, 0, 0, 24 ], [ 8, 1, 0.1429, 0.0119, 1, 0.26, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 2, 1, 0.1786, 0.0357, 1, 0.26, 0...
[ "class ProbCat:\n \"\"\"A standard interface for a probabilistic classifier. Provides an interface for a system where you add a bunch of 'samples' and their categories, and can then request the probability that new samples belong to each category. Designed so it can be used in an incrimental manor - if a classifie...
#! /usr/bin/env python # Copyright 2011 Tom SF Haines # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agree...
[ [ 1, 0, 0.2766, 0.0213, 0, 0.66, 0, 924, 0, 1, 0, 0, 924, 0, 0 ], [ 1, 0, 0.2979, 0.0213, 0, 0.66, 0.0588, 291, 0, 1, 0, 0, 291, 0, 0 ], [ 14, 0, 0.3404, 0.0213, 0, ...
[ "import p_cat", "import pydoc", "doc = pydoc.HTMLDoc()", "out = open('p_cat.html','w')", "out.write('<html>\\n')", "out.write('<head>\\n')", "out.write('<title>Probabilistic Classification</title>\\n')", "out.write('</head>\\n')", "out.write('<body>\\n')", "readme = open('readme.txt','r').read()",...
# Copyright 2011 Tom SF Haines # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the ho...
[ [ 1, 0, 0.2368, 0.0132, 0, 0.66, 0, 526, 0, 1, 0, 0, 526, 0, 0 ], [ 1, 0, 0.25, 0.0132, 0, 0.66, 0.5, 715, 0, 1, 0, 0, 715, 0, 0 ], [ 3, 0, 0.6513, 0.7105, 0, 0.66,...
[ "import math", "import random", "class ConcentrationDP:\n \"\"\"Represents the concentration parameter of a Dirichlet process - contains the parameters of its prior and updates its estimate as things change. The estimate is actually the mean of many Gibbs samples of the parameter.\"\"\"\n def __init__(self):\...
# Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
[ [ 1, 0, 0.2167, 0.0167, 0, 0.66, 0, 79, 0, 1, 0, 0, 79, 0, 0 ], [ 1, 0, 0.2333, 0.0167, 0, 0.66, 0.3333, 848, 0, 1, 0, 0, 848, 0, 0 ], [ 1, 0, 0.25, 0.0167, 0, 0.66...
[ "import os.path", "import pickle", "import numpy", "class Iris1D:\n \"\"\"1D interface to the iris data set - uses pca to make it a 1D problem that is good for extremelly simple tests/demonstrations.\"\"\"\n def __init__(self):\n # First load the data from the file...\n directory = os.path.dirname(os....
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.2941, 0.0196, 0, 0.66, 0, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.3137, 0.0196, 0, 0.66, 0.5, 654, 0, 1, 0, 0, 654, 0, 0 ], [ 3, 0, 0.6863, 0.6078, 0, 0.6...
[ "import sys", "import time", "class ProgBar:\n \"\"\"Simple console progress bar class. Note that object creation and destruction matter, as they indicate when processing starts and when it stops.\"\"\"\n def __init__(self, width = 60, onCallback = None):\n self.start = time.time()\n self.fill = 0\n ...
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.5, 0.0333, 0, 0.66, 0, 878, 0, 1, 0, 0, 878, 0, 0 ], [ 1, 0, 0.5333, 0.0333, 0, 0.66, 0.5, 154, 0, 1, 0, 0, 154, 0, 0 ], [ 2, 0, 0.8333, 0.3667, 0, 0.66, ...
[ "import inspect", "import hashlib", "def start_cpp(hash_str = None):\n \"\"\"This method does two things - firstly it adds the correct line numbers to scipy.weave code (Good for debugging) and secondly it can optionaly inserts a hash code of some other code into the code. This latter feature is useful for work...
# -*- coding: utf-8 -*- # Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.). import cv import numpy as np def cv2array(im): """Converts a cv array to a numpy array.""" depth2dtype = { cv.IPL_...
[ [ 1, 0, 0.1296, 0.0185, 0, 0.66, 0, 492, 0, 1, 0, 0, 492, 0, 0 ], [ 1, 0, 0.1481, 0.0185, 0, 0.66, 0.3333, 954, 0, 1, 0, 0, 954, 0, 0 ], [ 2, 0, 0.3889, 0.3519, 0, ...
[ "import cv", "import numpy as np", "def cv2array(im):\n \"\"\"Converts a cv array to a numpy array.\"\"\"\n depth2dtype = {\n cv.IPL_DEPTH_8U: 'uint8',\n cv.IPL_DEPTH_8S: 'int8',\n cv.IPL_DEPTH_16U: 'uint16',\n cv.IPL_DEPTH_16S: 'int16',\n cv.IPL_DEPTH_32S: 'int32',", " \...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.1456, 0.0097, 0, 0.66, 0, 901, 0, 1, 0, 0, 901, 0, 0 ], [ 1, 0, 0.1553, 0.0097, 0, 0.66, 0.1111, 99, 0, 1, 0, 0, 99, 0, 0 ], [ 1, 0, 0.1748, 0.0097, 0, 0....
[ "import multiprocessing as mp", "import multiprocessing.synchronize # To make sure we have all the functionality.", "import types", "import marshal", "import unittest", "def repeat(x):\n \"\"\"A generator that repeats the input forever - can be used with the mp_map function to give data to a function tha...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.1875, 0.0125, 0, 0.66, 0, 972, 0, 1, 0, 0, 972, 0, 0 ], [ 1, 0, 0.2, 0.0125, 0, 0.66, 0.5, 884, 0, 1, 0, 0, 884, 0, 0 ], [ 14, 0, 0.6312, 0.75, 0, 0.66, ...
[ "from utils.start_cpp import start_cpp", "from utils.numpy_help_cpp import numpy_util_code", "python_obj_code = numpy_util_code + start_cpp() + \"\"\"\n#ifndef PYTHON_OBJ_CODE\n#define PYTHON_OBJ_CODE\n\n// Extracts a boolean from an object...\nbool GetObjectBoolean(PyObject * obj, const char * name)\n{\n PyObj...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.1923, 0.0128, 0, 0.66, 0, 972, 0, 1, 0, 0, 972, 0, 0 ], [ 14, 0, 0.6282, 0.7564, 0, 0.66, 1, 799, 4, 0, 0, 0, 0, 0, 1 ] ]
[ "from utils.start_cpp import start_cpp", "numpy_util_code = start_cpp() + \"\"\"\n#ifndef NUMPY_UTIL_CODE\n#define NUMPY_UTIL_CODE\n\nfloat & Float1D(PyArrayObject * arr, int index = 0)\n{\n return *(float*)(arr->data + index*arr->strides[0]);\n}" ]
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.2941, 0.0196, 0, 0.66, 0, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.3137, 0.0196, 0, 0.66, 0.5, 654, 0, 1, 0, 0, 654, 0, 0 ], [ 3, 0, 0.6863, 0.6078, 0, 0.6...
[ "import sys", "import time", "class ProgBar:\n \"\"\"Simple console progress bar class. Note that object creation and destruction matter, as they indicate when processing starts and when it stops.\"\"\"\n def __init__(self, width = 60, onCallback = None):\n self.start = time.time()\n self.fill = 0\n ...
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.5, 0.0333, 0, 0.66, 0, 878, 0, 1, 0, 0, 878, 0, 0 ], [ 1, 0, 0.5333, 0.0333, 0, 0.66, 0.5, 154, 0, 1, 0, 0, 154, 0, 0 ], [ 2, 0, 0.8333, 0.3667, 0, 0.66, ...
[ "import inspect", "import hashlib", "def start_cpp(hash_str = None):\n \"\"\"This method does two things - firstly it adds the correct line numbers to scipy.weave code (Good for debugging) and secondly it can optionaly inserts a hash code of some other code into the code. This latter feature is useful for work...
# -*- coding: utf-8 -*- # Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.). import cv import numpy as np def cv2array(im): """Converts a cv array to a numpy array.""" depth2dtype = { cv.IPL_...
[ [ 1, 0, 0.1296, 0.0185, 0, 0.66, 0, 492, 0, 1, 0, 0, 492, 0, 0 ], [ 1, 0, 0.1481, 0.0185, 0, 0.66, 0.3333, 954, 0, 1, 0, 0, 954, 0, 0 ], [ 2, 0, 0.3889, 0.3519, 0, ...
[ "import cv", "import numpy as np", "def cv2array(im):\n \"\"\"Converts a cv array to a numpy array.\"\"\"\n depth2dtype = {\n cv.IPL_DEPTH_8U: 'uint8',\n cv.IPL_DEPTH_8S: 'int8',\n cv.IPL_DEPTH_16U: 'uint16',\n cv.IPL_DEPTH_16S: 'int16',\n cv.IPL_DEPTH_32S: 'int32',", " \...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.1456, 0.0097, 0, 0.66, 0, 901, 0, 1, 0, 0, 901, 0, 0 ], [ 1, 0, 0.1553, 0.0097, 0, 0.66, 0.1111, 99, 0, 1, 0, 0, 99, 0, 0 ], [ 1, 0, 0.1748, 0.0097, 0, 0....
[ "import multiprocessing as mp", "import multiprocessing.synchronize # To make sure we have all the functionality.", "import types", "import marshal", "import unittest", "def repeat(x):\n \"\"\"A generator that repeats the input forever - can be used with the mp_map function to give data to a function tha...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.1875, 0.0125, 0, 0.66, 0, 972, 0, 1, 0, 0, 972, 0, 0 ], [ 1, 0, 0.2, 0.0125, 0, 0.66, 0.5, 884, 0, 1, 0, 0, 884, 0, 0 ], [ 14, 0, 0.6312, 0.75, 0, 0.66, ...
[ "from utils.start_cpp import start_cpp", "from utils.numpy_help_cpp import numpy_util_code", "python_obj_code = numpy_util_code + start_cpp() + \"\"\"\n#ifndef PYTHON_OBJ_CODE\n#define PYTHON_OBJ_CODE\n\n// Extracts a boolean from an object...\nbool GetObjectBoolean(PyObject * obj, const char * name)\n{\n PyObj...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.1923, 0.0128, 0, 0.66, 0, 972, 0, 1, 0, 0, 972, 0, 0 ], [ 14, 0, 0.6282, 0.7564, 0, 0.66, 1, 799, 4, 0, 0, 0, 0, 0, 1 ] ]
[ "from utils.start_cpp import start_cpp", "numpy_util_code = start_cpp() + \"\"\"\n#ifndef NUMPY_UTIL_CODE\n#define NUMPY_UTIL_CODE\n\nfloat & Float1D(PyArrayObject * arr, int index = 0)\n{\n return *(float*)(arr->data + index*arr->strides[0]);\n}" ]
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.2941, 0.0196, 0, 0.66, 0, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.3137, 0.0196, 0, 0.66, 0.5, 654, 0, 1, 0, 0, 654, 0, 0 ], [ 3, 0, 0.6863, 0.6078, 0, 0.6...
[ "import sys", "import time", "class ProgBar:\n \"\"\"Simple console progress bar class. Note that object creation and destruction matter, as they indicate when processing starts and when it stops.\"\"\"\n def __init__(self, width = 60, onCallback = None):\n self.start = time.time()\n self.fill = 0\n ...
# -*- coding: utf-8 -*- # Copyright (c) 2010, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.5, 0.0333, 0, 0.66, 0, 878, 0, 1, 0, 0, 878, 0, 0 ], [ 1, 0, 0.5333, 0.0333, 0, 0.66, 0.5, 154, 0, 1, 0, 0, 154, 0, 0 ], [ 2, 0, 0.8333, 0.3667, 0, 0.66, ...
[ "import inspect", "import hashlib", "def start_cpp(hash_str = None):\n \"\"\"This method does two things - firstly it adds the correct line numbers to scipy.weave code (Good for debugging) and secondly it can optionaly inserts a hash code of some other code into the code. This latter feature is useful for work...
# -*- coding: utf-8 -*- # Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.). import cv import numpy as np def cv2array(im): """Converts a cv array to a numpy array.""" depth2dtype = { cv.IPL_...
[ [ 1, 0, 0.1296, 0.0185, 0, 0.66, 0, 492, 0, 1, 0, 0, 492, 0, 0 ], [ 1, 0, 0.1481, 0.0185, 0, 0.66, 0.3333, 954, 0, 1, 0, 0, 954, 0, 0 ], [ 2, 0, 0.3889, 0.3519, 0, ...
[ "import cv", "import numpy as np", "def cv2array(im):\n \"\"\"Converts a cv array to a numpy array.\"\"\"\n depth2dtype = {\n cv.IPL_DEPTH_8U: 'uint8',\n cv.IPL_DEPTH_8S: 'int8',\n cv.IPL_DEPTH_16U: 'uint16',\n cv.IPL_DEPTH_16S: 'int16',\n cv.IPL_DEPTH_32S: 'int32',", " \...
# -*- coding: utf-8 -*- # Copyright (c) 2011, Tom SF Haines # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this list of...
[ [ 1, 0, 0.1456, 0.0097, 0, 0.66, 0, 901, 0, 1, 0, 0, 901, 0, 0 ], [ 1, 0, 0.1553, 0.0097, 0, 0.66, 0.1111, 99, 0, 1, 0, 0, 99, 0, 0 ], [ 1, 0, 0.1748, 0.0097, 0, 0....
[ "import multiprocessing as mp", "import multiprocessing.synchronize # To make sure we have all the functionality.", "import types", "import marshal", "import unittest", "def repeat(x):\n \"\"\"A generator that repeats the input forever - can be used with the mp_map function to give data to a function tha...