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
| You are a mathematician specializing in equational theories of magmas. | |
| Your task is to determine whether Equation 1 ({{ equation1 }}) implies Equation 2 ({{ equation2 }}) over all magmas. | |
| You are an expert mathematician specializing in universal algebra. Your task is to determine if `equation1` universally implies `equation2` for any arbitrary magma (a set with a single uninterpreted binary operation `*`). | |
| **CRITICAL RULES:** | |
| 1. **NO ASSUMED PROPERTIES**: The operation `*` is an arbitrary binary operation. It is **NOT** commutative, **NOT** associative, and has no identity or inverses unless derivable from the given equations. | |
| 2. **UNIVERSAL QUANTIFICATION**: Variables in the equations are implicitly universally quantified. If an equation forces a constraint on free variables like `x = y`, `x = c`, `0 = z`, or `x = y ^ z`, it means the magma must be trivial (1 element). | |
| 3. **NO CANCELLATION**: `x * y = x * z` does NOT imply `y = z`. |
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 requests | |
| import json | |
| import datetime | |
| headers = { | |
| 'accept': 'application/json', | |
| 'Accept-Language': 'hi_IN', | |
| } | |
| now = datetime.datetime.now()¬ | |
| date = now.strftime("%d-%m-%Y")¬ |
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
| name: wandb | |
| channels: | |
| - pytorch | |
| - defaults | |
| dependencies: | |
| - _libgcc_mutex=0.1=main | |
| - asn1crypto=1.2.0=py37_0 | |
| - attrs=19.3.0=py_0 | |
| - backcall=0.1.0=py37_0 | |
| - blas=1.0=mkl |
This file has been truncated, but you can view the full file.
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
| 0 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
| dataset.name = 'dsprites_full' | |
| encoder.encoder_fn = @conv_encoder | |
| decoder.decoder_fn = @deconv_decoder | |
| model.name = 'beta_vae' | |
| vae.beta = 1.0 | |
| model.model = @vae() | |
| model.random_seed = 0 | |
| 1 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
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
| '''Trains a simple convnet on the MNIST dataset. | |
| Gets to 99.25% test accuracy after 12 epochs | |
| (there is still a lot of margin for parameter tuning). | |
| 16 seconds per epoch on a GRID K520 GPU. | |
| ''' | |
| from __future__ import print_function | |
| import wandb | |
| wandb.init() | |
| from wandb.keras import WandbCallback |
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
| '''Trains a simple convnet on the MNIST dataset. | |
| Gets to 99.25% test accuracy after 12 epochs | |
| (there is still a lot of margin for parameter tuning). | |
| 16 seconds per epoch on a GRID K520 GPU. | |
| ''' | |
| from __future__ import print_function | |
| import wandb | |
| wandb.init() | |
| from wandb.keras import WandbCallback |
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
| '''Trains a simple convnet on the MNIST dataset. | |
| Gets to 99.25% test accuracy after 12 epochs | |
| (there is still a lot of margin for parameter tuning). | |
| 16 seconds per epoch on a GRID K520 GPU. | |
| ''' | |
| from __future__ import print_function | |
| import wandb | |
| wandb.init() | |
| from wandb.keras import WandbCallback |
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
| '''Trains a simple convnet on the MNIST dataset. | |
| Gets to 99.25% test accuracy after 12 epochs | |
| (there is still a lot of margin for parameter tuning). | |
| 16 seconds per epoch on a GRID K520 GPU. | |
| ''' | |
| from __future__ import print_function | |
| import wandb | |
| wandb.init() | |
| from wandb.keras import WandbCallback |
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
| from osim.http.client import Client | |
| from osim.env import GaitEnv | |
| #from osim_http_mrl_client import Client as mrl_client | |
| remote_base = 'http://grader.crowdai.org' | |
| token = 'your token' | |
| client = Client(remote_base) | |
| g = GaitEnv(visualize=False) | |
| # local = mrl_client() |
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
| """ | |
| semi gradient sarsa control of Mountain Car | |
| with function approximation, with tiled features | |
| TileCoding -> https://gist.github.com/042bb46cc9143a0c027d021c552300cf | |
| """ | |
| import numpy as np | |
| import gym |
NewerOlder