This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Non-parametric computation of entropy and mutual-information | |
Adapted by G Varoquaux for code created by R Brette, itself | |
from several papers (see in the code). | |
This code is maintained at https://github.com/mutualinfo/mutual_info | |
Please download the latest code there, to have improvements and | |
bug fixes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Command line interface for monitoring asyncio tasks.""" | |
import os | |
import signal | |
import asyncio | |
import argparse | |
import traceback | |
import linecache | |
from itertools import count |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
from torch import nn | |
__all__ = ['FCDenseNet', 'fcdensenet_tiny', 'fcdensenet56_nodrop', | |
'fcdensenet56', 'fcdensenet67', 'fcdensenet103', | |
'fcdensenet103_nodrop'] | |
class DenseBlock(nn.Module): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf8 | |
## based on this article: http://qiita.com/mokemokechicken/items/937a82cfdc31e9a6ca12 | |
import numpy as np | |
from keras.models import Sequential | |
from keras.engine.topology import Input, Container | |
from keras.engine.training import Model | |
from keras.layers.core import Dense |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Create train, valid, test iterators for CIFAR-10 [1]. | |
Easily extended to MNIST, CIFAR-100 and Imagenet. | |
[1]: https://discuss.pytorch.org/t/feedback-on-pytorch-for-kaggle-competitions/2252/4 | |
""" | |
import torch | |
import numpy as np |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
game | steam appid | review_score | review_score_desc | total_positive | total_negative | total_reviews | review_ratio (total_positive/total_negative) | |
---|---|---|---|---|---|---|---|---|
Factorio | 427520 | 9 | Overwhelmingly Positive | 131278 | 1423 | 132701 | 92.25439213 | |
ULTRAKILL | 1229490 | 9 | Overwhelmingly Positive | 32445 | 366 | 32811 | 88.64754098 | |
People Playground | 1118200 | 9 | Overwhelmingly Positive | 132851 | 1501 | 134352 | 88.50832778 | |
Portal 2 | 620 | 9 | Overwhelmingly Positive | 300945 | 3674 | 304619 | 81.91208492 | |
Rhythm Doctor | 774181 | 9 | Overwhelmingly Positive | 15628 | 241 | 15869 | 64.84647303 | |
Portal | 400 | 9 | Overwhelmingly Positive | 109555 | 1724 | 111279 | 63.54698376 | |
RimWorld | 294100 | 9 | Overwhelmingly Positive | 135718 | 2370 | 138088 | 57.2649789 | |
Stardew Valley | 413150 | 9 | Overwhelmingly Positive | 484280 | 9114 | 493394 | 53.13583498 | |
Wobbledogs | 1424330 | 9 | Overwhelmingly Positive | 4247 | 86 | 4333 | 49.38372093 |