id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
25,700 | dividertray.py | florianfesti_boxes/boxes/generators/dividertray.py | # Copyright (C) 2013-2014 Florian Festi
#
# 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 ... | 21,934 | Python | .py | 530 | 30.579245 | 212 | 0.580104 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,701 | gear.py | florianfesti_boxes/boxes/generators/gear.py | # Copyright (C) 2013-2016 Florian Festi
#
# 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 ... | 4,098 | Python | .py | 82 | 39.060976 | 79 | 0.59955 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,702 | wallslottedholder.py | florianfesti_boxes/boxes/generators/wallslottedholder.py | # Copyright (C) 2013-2019 Florian Festi
#
# 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 ... | 4,415 | Python | .py | 106 | 32.981132 | 113 | 0.582517 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,703 | filltest.py | florianfesti_boxes/boxes/generators/filltest.py | # Copyright (C) 2013-2016 Florian Festi
#
# 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 ... | 2,617 | Python | .py | 58 | 37.206897 | 148 | 0.606216 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,704 | laserclamp.py | florianfesti_boxes/boxes/generators/laserclamp.py | # Copyright (C) 2013-2016 Florian Festi
#
# 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 ... | 3,548 | Python | .py | 77 | 37.493506 | 91 | 0.591423 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,705 | lamp.py | florianfesti_boxes/boxes/generators/lamp.py | # Copyright (C) 2013-2014 Florian Festi
#
# 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 ... | 4,002 | Python | .py | 101 | 31.80198 | 93 | 0.586625 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,706 | keypad.py | florianfesti_boxes/boxes/generators/keypad.py | """Generator for keypads with mechanical switches."""
from copy import deepcopy
from boxes import Boxes, boolarg
from boxes.edges import FingerJointSettings
from .keyboard import Keyboard
class Keypad(Boxes, Keyboard):
"""Generator for keypads with mechanical switches."""
description = "Note that top laye... | 5,168 | Python | .py | 117 | 34.717949 | 140 | 0.608791 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,707 | keyholder.py | florianfesti_boxes/boxes/generators/keyholder.py | # Copyright (C) 2013-2014 Florian Festi
#
# 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 ... | 5,382 | Python | .py | 152 | 26.085526 | 133 | 0.582259 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,708 | boxes.py.pot | florianfesti_boxes/po/boxes.py.pot | # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-16 21... | 185,890 | Python | .py | 6,974 | 25.411815 | 82 | 0.776021 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,709 | test_svg.py | florianfesti_boxes/tests/test_svg.py | from __future__ import annotations
import sys
from pathlib import Path
import pytest
from lxml import etree
try:
import boxes
except ImportError:
sys.path.append(Path(__file__).resolve().parent.parent.__str__())
import boxes
import boxes.generators
class TestSVG:
"""Test SVG creation of box genera... | 2,960 | Python | .py | 66 | 37.954545 | 143 | 0.668405 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,710 | conf.py | florianfesti_boxes/documentation/src/conf.py | # Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import os
import sys
from datetime import datetime
sys.path.append(os.path.abspath('../..'))
# -- Project informati... | 3,037 | Python | .py | 71 | 40.661972 | 87 | 0.660769 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,711 | boxes2rst.py | florianfesti_boxes/documentation/src/boxes2rst.py | #!/usr/bin/env python3
# Copyright (C) 2017 Florian Festi
#
# 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.
#
# ... | 2,206 | Python | .py | 48 | 39.083333 | 113 | 0.601024 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,712 | boxes_proxy.py | florianfesti_boxes/scripts/boxes_proxy.py | #!/usr/bin/env python3
"""
Extension for InkScape 1.0+
boxes.py wrapper script to make it work on Windows and Linux systems without duplicating .inx files
Author: Mario Voigt / FabLab Chemnitz
Mail: mario.voigt@stadtfabrikanten.org
Date: 27.04.2021
Last patch: 27.04.2021
License: GNU GPL v3
"""
pass
import subproce... | 2,264 | Python | .py | 60 | 29.583333 | 108 | 0.608139 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,713 | boxes_example.ipynb | florianfesti_boxes/scripts/boxes_example.ipynb | {
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Boxes.py example\n",
"\n",
"This notebook is an interactive example of a Boxes.py generator. Feel free to play around and see how the result changes.\n",
"\n",
"Check out http://florianfesti.github.io/boxes/html/index... | 19,234 | Python | .py | 176 | 103.857955 | 2,318 | 0.645975 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,714 | stackablebin.py | florianfesti_boxes/boxes/generators/stackablebin.py | # Copyright (C) 2013-2016 Florian Festi
#
# 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 ... | 3,112 | Python | .tac | 64 | 41.375 | 103 | 0.650925 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,715 | stachel.py | florianfesti_boxes/boxes/generators/stachel.py | # Copyright (C) 2013-2016 Florian Festi
#
# 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 ... | 3,238 | Python | .tac | 77 | 33.441558 | 111 | 0.563156 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,716 | bottlestack.py | florianfesti_boxes/boxes/generators/bottlestack.py | # Copyright (C) 2013-2020 Florian Festi
#
# 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 ... | 5,283 | Python | .tac | 134 | 28.835821 | 150 | 0.530859 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,717 | BottleStack.svg | florianfesti_boxes/examples/BottleStack.svg | <?xml version='1.0' encoding='utf-8'?>
<svg height="214.98mm" viewBox="0.0 0.0 269.20 214.98" width="269.20mm" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.or... | 20,957 | Python | .tac | 63 | 331.063492 | 3,525 | 0.715346 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,718 | StackableBin.svg | florianfesti_boxes/examples/StackableBin.svg | <?xml version='1.0' encoding='utf-8'?>
<svg height="178.41mm" viewBox="0.0 0.0 191.90 178.41" width="191.90mm" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.or... | 23,530 | Python | .tac | 74 | 316.067568 | 5,831 | 0.704242 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,719 | Stachel.svg | florianfesti_boxes/examples/Stachel.svg | <?xml version='1.0' encoding='utf-8'?>
<svg height="497.19mm" viewBox="0.0 0.0 196.80 497.19" width="196.80mm" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.or... | 11,656 | Python | .tac | 32 | 362.90625 | 4,069 | 0.725458 | florianfesti/boxes | 970 | 351 | 40 | GPL-3.0 | 9/5/2024, 5:13:34 PM (Europe/Amsterdam) |
25,720 | config.py | lra_mackup/mackup/config.py | """Package used to manage the .mackup.cfg config file."""
import os
import os.path
from .constants import (
CUSTOM_APPS_DIR,
MACKUP_BACKUP_PATH,
MACKUP_CONFIG_FILE,
ENGINE_DROPBOX,
ENGINE_GDRIVE,
ENGINE_ICLOUD,
ENGINE_FS,
)
from .utils import (
error,
get_dropbox_folder_location,
... | 7,731 | Python | .py | 221 | 24.99095 | 87 | 0.570662 | lra/mackup | 14,505 | 929 | 359 | GPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,721 | constants.py | lra_mackup/mackup/constants.py | """Constants used in Mackup."""
# Current version
VERSION = "0.8.40"
# Support platforms
PLATFORM_DARWIN = "Darwin"
PLATFORM_LINUX = "Linux"
# Directory containing the application configs
APPS_DIR = "applications"
# Mackup application name
MACKUP_APP_NAME = "mackup"
# Default Mackup backup path where it stores its... | 1,147 | Python | .py | 32 | 33.78125 | 77 | 0.742986 | lra/mackup | 14,505 | 929 | 359 | GPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,722 | utils.py | lra_mackup/mackup/utils.py | """System static utilities being used by the modules."""
import base64
import os
import platform
import shutil
import stat
import subprocess
import sys
import sqlite3
from . import constants
# Flag that controls how user confirmation works.
# If True, the user wants to say "yes" to everything.
FORCE_YES = False
# ... | 10,488 | Python | .py | 278 | 31.014388 | 88 | 0.648187 | lra/mackup | 14,505 | 929 | 359 | GPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,723 | appsdb.py | lra_mackup/mackup/appsdb.py | """
The applications database.
The Applications Database provides an easy to use interface to load application
data from the Mackup Database (files).
"""
import os
try:
import configparser
except ImportError:
import ConfigParser as configparser
from .constants import APPS_DIR
from .constants import CUSTOM_... | 5,925 | Python | .py | 133 | 31.81203 | 86 | 0.571156 | lra/mackup | 14,505 | 929 | 359 | GPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,724 | application.py | lra_mackup/mackup/application.py | """
Application Profile.
An Application Profile contains all the information about an application in
Mackup. Name, files, ...
"""
import os
from .mackup import Mackup
from . import utils
class ApplicationProfile(object):
"""Instantiate this class with application specific data."""
def __init__(self, macku... | 10,035 | Python | .py | 233 | 25.652361 | 88 | 0.474261 | lra/mackup | 14,505 | 929 | 359 | GPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,725 | main.py | lra_mackup/mackup/main.py | """Mackup.
Keep your application settings in sync.
Copyright (C) 2013-2021 Laurent Raufaste <http://glop.org/>
Usage:
mackup list
mackup [options] backup
mackup [options] restore
mackup show <application>
mackup [options] uninstall
mackup (-h | --help)
mackup --version
Options:
-h --help Show thi... | 6,267 | Python | .py | 154 | 32.311688 | 88 | 0.626441 | lra/mackup | 14,505 | 929 | 359 | GPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,726 | mackup.py | lra_mackup/mackup/mackup.py | """
The Mackup Class.
The Mackup class is keeping all the state that Mackup needs to keep during its
runtime. It also provides easy to use interface that is used by the Mackup UI.
The only UI for now is the command line.
"""
import os
import os.path
import shutil
import tempfile
from . import utils
from . import con... | 3,682 | Python | .py | 83 | 35.156627 | 81 | 0.617943 | lra/mackup | 14,505 | 929 | 359 | GPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,727 | test_utils.py | lra_mackup/tests/test_utils.py | import os
import tempfile
import unittest
import stat
# from unittest.mock import patch
from mackup import utils
def convert_to_octal(file_name):
"""
Using os.stat, returns file permissions (read, write, execute) as an octal.
"""
return oct(os.stat(file_name)[stat.ST_MODE])[-3:]
class TestMackup(u... | 10,847 | Python | .py | 254 | 33.874016 | 84 | 0.650361 | lra/mackup | 14,505 | 929 | 359 | GPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,728 | test_main.py | lra_mackup/tests/test_main.py | import unittest
from mackup import main
class TestMain(unittest.TestCase):
def test_main_header(self):
assert main.header("blah") == "\033[34mblah\033[0m"
def test_main_bold(self):
assert main.bold("blah") == "\033[1mblah\033[0m"
| 257 | Python | .py | 7 | 31.857143 | 59 | 0.688259 | lra/mackup | 14,505 | 929 | 359 | GPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,729 | test_config.py | lra_mackup/tests/test_config.py | import unittest
import os.path
from mackup.constants import (
ENGINE_DROPBOX,
ENGINE_GDRIVE,
ENGINE_ICLOUD,
ENGINE_FS,
)
from mackup.config import Config, ConfigError
class TestConfig(unittest.TestCase):
def setUp(self):
realpath = os.path.dirname(os.path.realpath(__file__))
os.en... | 7,043 | Python | .py | 149 | 38.496644 | 83 | 0.646602 | lra/mackup | 14,505 | 929 | 359 | GPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,730 | setup.py | numenta_nupic-legacy/setup.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2016, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 6,107 | Python | .py | 150 | 35.9 | 91 | 0.682317 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,731 | NuPIC Walkthrough.ipynb | numenta_nupic-legacy/examples/NuPIC Walkthrough.ipynb | {
"cells": [
{
"cell_type": "markdown",
"metadata": {
"deletable": true,
"editable": true
},
"source": [
"# Encoders\n",
"\n",
"* Scalar\n",
"* Date/time\n",
"* Category\n",
"* Multi"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"coll... | 62,683 | Python | .py | 2,051 | 25.465627 | 339 | 0.516526 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,732 | tm_overlapping_sequences.py | numenta_nupic-legacy/examples/tm/tm_overlapping_sequences.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 32,320 | Python | .py | 728 | 35.427198 | 94 | 0.563704 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,733 | tm_high_order.py | numenta_nupic-legacy/examples/tm/tm_high_order.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2016, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 17,726 | Python | .py | 407 | 41.638821 | 107 | 0.743664 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,734 | tm_segment_learning.py | numenta_nupic-legacy/examples/tm/tm_segment_learning.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 19,895 | Python | .py | 466 | 33.785408 | 89 | 0.631715 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,735 | tm_constant_test.py | numenta_nupic-legacy/examples/tm/tm_constant_test.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 5,459 | Python | .py | 133 | 32.601504 | 79 | 0.642871 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,736 | tm_test.py | numenta_nupic-legacy/examples/tm/tm_test.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 88,287 | Python | .py | 1,847 | 35.313481 | 93 | 0.569301 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,737 | hello_tm.py | numenta_nupic-legacy/examples/tm/hello_tm.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 6,174 | Python | .py | 122 | 47.581967 | 99 | 0.706693 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,738 | svm_how_to.py | numenta_nupic-legacy/examples/bindings/svm_how_to.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 7,836 | Python | .py | 193 | 34.455959 | 91 | 0.614246 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,739 | sparse_matrix_how_to.py | numenta_nupic-legacy/examples/bindings/sparse_matrix_how_to.py |
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progr... | 12,453 | Python | .py | 311 | 38.575563 | 87 | 0.695305 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,740 | custom_region_demo.py | numenta_nupic-legacy/examples/network/custom_region_demo.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 4,519 | Python | .py | 102 | 40.519608 | 79 | 0.721095 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,741 | hierarchy_network_demo.py | numenta_nupic-legacy/examples/network/hierarchy_network_demo.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 13,394 | Python | .py | 283 | 40.328622 | 113 | 0.695492 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,742 | core_encoders_demo.py | numenta_nupic-legacy/examples/network/core_encoders_demo.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2016, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 5,291 | Python | .py | 123 | 32.04878 | 79 | 0.571901 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,743 | network_api_demo.py | numenta_nupic-legacy/examples/network/network_api_demo.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015-2016, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This p... | 8,279 | Python | .py | 183 | 41.377049 | 85 | 0.735809 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,744 | temporal_anomaly_network_demo.py | numenta_nupic-legacy/examples/network/temporal_anomaly_network_demo.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015-2017, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This p... | 7,578 | Python | .py | 186 | 36.456989 | 80 | 0.717998 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,745 | identity_region.py | numenta_nupic-legacy/examples/network/custom_region/identity_region.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 2,601 | Python | .py | 77 | 27.480519 | 79 | 0.599681 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,746 | webdata.py | numenta_nupic-legacy/examples/prediction/category_prediction/webdata.py | # -*- coding: utf-8 -*-
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013-2018, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and cond... | 10,376 | Python | .py | 249 | 36.835341 | 89 | 0.69863 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,747 | inspect_test.py | numenta_nupic-legacy/examples/prediction/experiments/inspect_test.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 1,178 | Python | .py | 29 | 39.275862 | 72 | 0.673362 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,748 | description.py | numenta_nupic-legacy/examples/prediction/experiments/dutyCycle/bSDRSameDC/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 1,578 | Python | .py | 37 | 38.378378 | 72 | 0.657011 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,749 | description.py | numenta_nupic-legacy/examples/prediction/experiments/dutyCycle/base/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 12,866 | Python | .py | 305 | 34.770492 | 86 | 0.610551 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,750 | permutationsActiveCount.py | numenta_nupic-legacy/examples/prediction/experiments/dutyCycle/base/permutationsActiveCount.py |
permutations = dict(
iterationCount = [25000],
spPeriodicStats = [0],
#spCoincCount = [200, 300, 400, 500],
spNumActivePerInhArea = [9, 11, 13, 15, 17],
tpActivationThresholds = [range(8,18)],
#spSynPermInactiveDe... | 517 | Python | .py | 13 | 26.769231 | 66 | 0.479042 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,751 | permutationsEncoder.py | numenta_nupic-legacy/examples/prediction/experiments/dutyCycle/base/permutationsEncoder.py |
permutations = dict(
iterationCount = [50000],
spPeriodicStats = [0],
#encodingFieldStyleA = ['contiguous', 'sdr'],
encodingFieldWidthA = [256],
encodingFieldWidthB = [256],
encodingOnBitsA = [... | 843 | Python | .py | 18 | 29.888889 | 87 | 0.441558 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,752 | permutations.py | numenta_nupic-legacy/examples/prediction/experiments/dutyCycle/base/permutations.py |
permutations = dict(
iterationCount = [50000],
spPeriodicStats = [0],
#spCoincCount = [200, 300, 400, 500],
#spNumActivePerInhArea = [3, 5, 7, 9, 11],
spSynPermInactiveDec = [0.005, 0.01, 0.02, 0.04],
)
report = ... | 541 | Python | .py | 14 | 26.285714 | 65 | 0.486641 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,753 | permutationsData.py | numenta_nupic-legacy/examples/prediction/experiments/dutyCycle/base/permutationsData.py |
permutations = dict(
iterationCount = [50000],
spPeriodicStats = [500],
#encodingFieldStyleA = ['contiguous', 'sdr'],
#encodingFieldWidthA = [50],
#encodingFieldWidthB = [50],
#encodingOnBitsA = [11],
... | 819 | Python | .py | 20 | 27.15 | 61 | 0.447799 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,754 | description.py | numenta_nupic-legacy/examples/prediction/experiments/dutyCycle/bSDRHighDC/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 1,579 | Python | .py | 37 | 38.378378 | 72 | 0.656353 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,755 | description.py | numenta_nupic-legacy/examples/prediction/experiments/dutyCycle/problem/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 1,547 | Python | .py | 36 | 38.75 | 72 | 0.659274 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,756 | description.py | numenta_nupic-legacy/examples/prediction/experiments/confidenceTest/2/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 2,034 | Python | .py | 49 | 36.244898 | 72 | 0.641119 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,757 | description.py | numenta_nupic-legacy/examples/prediction/experiments/confidenceTest/3/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 2,384 | Python | .py | 54 | 39.240741 | 75 | 0.655233 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,758 | description.py | numenta_nupic-legacy/examples/prediction/experiments/confidenceTest/firstOrder/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 2,596 | Python | .py | 58 | 38.051724 | 76 | 0.616987 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,759 | description.py | numenta_nupic-legacy/examples/prediction/experiments/confidenceTest/1/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 2,024 | Python | .py | 48 | 36.791667 | 72 | 0.643935 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,760 | description.py | numenta_nupic-legacy/examples/prediction/experiments/confidenceTest/base/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 13,872 | Python | .py | 329 | 33.699088 | 82 | 0.614252 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,761 | permutations_quick.py | numenta_nupic-legacy/examples/prediction/experiments/confidenceTest/base/permutations_quick.py |
permutations = dict(
dataSetPackage = ['secondOrder1'],
iterationCountTrain = [10, 25, 50, 100],
iterationCountTest = [150],
evalTrainingSetNumIterations = [0],
spNumActivePerInhArea = [5],
... | 774 | Python | .py | 17 | 28.764706 | 68 | 0.520567 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,762 | permutations_firstOrder.py | numenta_nupic-legacy/examples/prediction/experiments/confidenceTest/base/permutations_firstOrder.py |
permutations = dict(
dataSetPackage = ['firstOrder'],
iterationCountTest = [1000],
spNumActivePerInhArea = [1],
tpNCellsPerCol = [1],
tpInitialPerm = [0.11],
tpPermanenceInc = [0.10],
... | 668 | Python | .py | 16 | 25.5625 | 68 | 0.504983 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,763 | permutations_secondOrder0.py | numenta_nupic-legacy/examples/prediction/experiments/confidenceTest/base/permutations_secondOrder0.py |
permutations = dict(
dataSetPackage = ['secondOrder0'],
iterationCountTrain = [250, 500, 1000, 1500],
iterationCountTest = [250, 500],
spNumActivePerInhArea = [5],
tpNCellsPerCol = [5],
... | 1,401 | Python | .py | 29 | 36.310345 | 78 | 0.608527 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,764 | description.py | numenta_nupic-legacy/examples/prediction/experiments/confidenceTest/secondOrder0/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 3,175 | Python | .py | 78 | 34.820513 | 81 | 0.638602 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,765 | description.py | numenta_nupic-legacy/examples/prediction/experiments/confidenceTest/secondOrder2/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 2,092 | Python | .py | 48 | 34.895833 | 87 | 0.620531 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,766 | description.py | numenta_nupic-legacy/examples/prediction/experiments/confidenceTest/secondOrder1/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 3,324 | Python | .py | 78 | 36.74359 | 81 | 0.662226 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,767 | description.py | numenta_nupic-legacy/examples/prediction/experiments/generated_data/description.py | from nupic.encoders import (LogEncoder, DateEncoder, MultiEncoder, ScalarEncoder)
from nupic.data import FunctionSource
from nupic.frameworks.prediction.callbacks import displaySPCoincidences, printSPCoincidences
from nupic.data.dict_utils import DictObj
nCoincidences = 30
iterationCount = 10000
nRandomFields = 1
r... | 3,919 | Python | .py | 109 | 30.550459 | 92 | 0.704684 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,768 | test_db.py | numenta_nupic-legacy/examples/swarm/test_db.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 4,683 | Python | .py | 103 | 41.485437 | 87 | 0.707558 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,769 | hello_sp.py | numenta_nupic-legacy/examples/sp/hello_sp.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have purchased from
# Numenta, Inc. a separate commercial license for this software code, the
# following terms and conditions apply:
#
# This pro... | 5,011 | Python | .py | 112 | 40.410714 | 80 | 0.696296 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,770 | sp_tutorial.py | numenta_nupic-legacy/examples/sp/sp_tutorial.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2018, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 13,471 | Python | .py | 300 | 42.673333 | 95 | 0.72685 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,771 | demo.py | numenta_nupic-legacy/examples/opf/simple_server/demo.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 2,955 | Python | .py | 70 | 37.571429 | 86 | 0.668531 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,772 | model_params.py | numenta_nupic-legacy/examples/opf/simple_server/model_params.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 9,318 | Python | .py | 200 | 33.585 | 108 | 0.554184 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,773 | model_params.py | numenta_nupic-legacy/examples/opf/clients/nyctaxi/model_params.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2016, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 3,359 | Python | .py | 119 | 22.378151 | 72 | 0.574251 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,774 | nyctaxi_anomaly.py | numenta_nupic-legacy/examples/opf/clients/nyctaxi/nyctaxi_anomaly.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2016, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 3,499 | Python | .py | 84 | 37.75 | 81 | 0.694052 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,775 | model_params.py | numenta_nupic-legacy/examples/opf/clients/cpu/model_params.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 8,343 | Python | .py | 181 | 34.690608 | 108 | 0.5832 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,776 | cpu.py | numenta_nupic-legacy/examples/opf/clients/cpu/cpu.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 3,122 | Python | .py | 77 | 37.701299 | 77 | 0.708815 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,777 | hotgym_anomaly.py | numenta_nupic-legacy/examples/opf/clients/hotgym/anomaly/hotgym_anomaly.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 2,757 | Python | .py | 65 | 38.861538 | 77 | 0.696415 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,778 | model_params.py | numenta_nupic-legacy/examples/opf/clients/hotgym/anomaly/model_params.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 8,821 | Python | .py | 198 | 33.070707 | 108 | 0.567832 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,779 | remove_tuesdays.py | numenta_nupic-legacy/examples/opf/clients/hotgym/anomaly/one_gym/remove_tuesdays.py | import csv
import shutil
import datetime
ORIGINAL = "rec-center-hourly.csv"
BACKUP = "rec-center-hourly-backup.csv"
DATE_FORMAT = "%m/%d/%y %H:%M"
def isTuesday(date):
return date.weekday() is 1
def withinOctober(date):
return datetime.datetime(2010, 10, 1) <= date < datetime.datetime(2010, 11, 1)
def run(... | 1,039 | Python | .py | 32 | 28.21875 | 80 | 0.673716 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,780 | run.py | numenta_nupic-legacy/examples/opf/clients/hotgym/anomaly/one_gym/run.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 4,917 | Python | .py | 128 | 35.390625 | 79 | 0.72073 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,781 | nupic_anomaly_output.py | numenta_nupic-legacy/examples/opf/clients/hotgym/anomaly/one_gym/nupic_anomaly_output.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 9,450 | Python | .py | 245 | 33.763265 | 80 | 0.715225 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,782 | __init__.py | numenta_nupic-legacy/examples/opf/clients/hotgym/anomaly/one_gym/model_params/__init__.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 976 | Python | .py | 20 | 47.8 | 72 | 0.665272 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,783 | rec_center_hourly_model_params.py | numenta_nupic-legacy/examples/opf/clients/hotgym/anomaly/one_gym/model_params/rec_center_hourly_model_params.py | MODEL_PARAMS = \
{ 'aggregationInfo': { 'days': 0,
'fields': [],
'hours': 0,
'microseconds': 0,
'milliseconds': 0,
'minutes': 0,
'months': 0,
'seconds': 0,
... | 5,565 | Python | .py | 85 | 23.094118 | 116 | 0.25292 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,784 | hotgym.py | numenta_nupic-legacy/examples/opf/clients/hotgym/simple/hotgym.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 3,515 | Python | .py | 78 | 39.089744 | 79 | 0.660427 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,785 | model_params.py | numenta_nupic-legacy/examples/opf/clients/hotgym/simple/model_params.py |
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This program is free software: you can redistribute it and/or modify
# it under the... | 9,208 | Python | .py | 199 | 34.055276 | 108 | 0.573039 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,786 | run.py | numenta_nupic-legacy/examples/opf/clients/hotgym/prediction/one_gym/run.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 5,217 | Python | .py | 125 | 36.976 | 78 | 0.683577 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,787 | swarm_description.py | numenta_nupic-legacy/examples/opf/clients/hotgym/prediction/one_gym/swarm_description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 1,675 | Python | .py | 56 | 26.053571 | 72 | 0.606679 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,788 | cleanup.py | numenta_nupic-legacy/examples/opf/clients/hotgym/prediction/one_gym/cleanup.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 2,028 | Python | .py | 52 | 36.134615 | 80 | 0.688358 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,789 | nupic_output.py | numenta_nupic-legacy/examples/opf/clients/hotgym/prediction/one_gym/nupic_output.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 6,193 | Python | .py | 154 | 35.194805 | 79 | 0.697162 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,790 | swarm.py | numenta_nupic-legacy/examples/opf/clients/hotgym/prediction/one_gym/swarm.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 3,776 | Python | .py | 90 | 39.3 | 80 | 0.703138 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,791 | data_generator.pyw | numenta_nupic-legacy/examples/opf/tools/data_generator.pyw | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 13,486 | Python | .py | 292 | 39.609589 | 117 | 0.645181 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,792 | testDiagnostics.py | numenta_nupic-legacy/examples/opf/tools/testDiagnostics.py | import numpy as np
def printMatrix(inputs, spOutput):
''' (i,j)th cell of the diff matrix will have the number of inputs for which the input and output
pattern differ by i bits and the cells activated differ at j places.
Parameters:
--------------------------------------------------------------------
input... | 1,606 | Python | .py | 34 | 42.852941 | 99 | 0.615979 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,793 | sp_plotter.py | numenta_nupic-legacy/examples/opf/tools/sp_plotter.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 14,845 | Python | .py | 431 | 28.540603 | 90 | 0.644214 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,794 | mirrorImageViz.py | numenta_nupic-legacy/examples/opf/tools/MirrorImageViz/mirrorImageViz.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 7,221 | Python | .py | 151 | 43.245033 | 232 | 0.679329 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,795 | make_datasets.py | numenta_nupic-legacy/examples/opf/experiments/spatial_classification/make_datasets.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 5,721 | Python | .py | 133 | 37.541353 | 80 | 0.662882 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,796 | run_exp_generator.py | numenta_nupic-legacy/examples/opf/experiments/spatial_classification/run_exp_generator.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 3,744 | Python | .py | 78 | 44.025641 | 80 | 0.647464 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,797 | searchDef.py | numenta_nupic-legacy/examples/opf/experiments/spatial_classification/auto_generated/searchDef.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 2,277 | Python | .py | 64 | 31.046875 | 79 | 0.647301 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,798 | description.py | numenta_nupic-legacy/examples/opf/experiments/spatial_classification/category_1/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 1,550 | Python | .py | 38 | 37.894737 | 78 | 0.658925 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |
25,799 | description.py | numenta_nupic-legacy/examples/opf/experiments/spatial_classification/scalar_1/description.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | 2,138 | Python | .py | 63 | 28.206349 | 78 | 0.585024 | numenta/nupic-legacy | 6,330 | 1,556 | 464 | AGPL-3.0 | 9/5/2024, 5:13:42 PM (Europe/Amsterdam) |