- Ace Cloud https://www.acecloudhosting.com/public-cloud/gpu
- Alibaba https://www.alibabacloud.com
- AWS EC2 https://aws.amazon.com/machine-learning/amis
- AWS Sagemaker https://aws.amazon.com/sagemaker
- Cirrascale http://www.cirrascale.com
- Cogeco Peer 1 https://www.cogecopeer1.com
- Core Weave https://www.coreweave.com/
This file contains 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 the packages | |
import numpy as np | |
import pandas as pd | |
import category_encoders as ce | |
# make some data | |
df = pd.DataFrame({ | |
'color':["a", "b", "a", "c"], | |
'outcome':[1, 2, 3, 2]}) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# | Name | URL |
---|---|---|
1 | Alibaba | https://cn.aliyun.com/solution/kubernetes |
2 | AWS | https://aws.amazon.com/eks/ |
3 | Google Cloud | https://cloud.google.com/kubernetes-engine/ |
4 | Digital Ocean | https://www.digitalocean.com/products/kubernetes/ |
5 | IBM Cloud | https://www.ibm.com/cloud/container-service |
6 | Huawei | https://www.huaweicloud.com/en-us/product/cce.html |
This file contains 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 setuptools import setup, find_packages | |
with open("README.md", "r") as readme_file: | |
readme = readme_file.read() | |
requirements = ["ipython>=6", "nbformat>=4", "nbconvert>=5", "requests>=2"] | |
setup( | |
name="notebookc", | |
version="0.0.1", |
This file contains 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
def convert(my_name): | |
""" | |
Print a line about converting a notebook. | |
Args: | |
my_name (str): person's name | |
Returns: | |
None | |
""" | |
print(f"I'll convert a notebook for you some day, {my_name}.") |
This file contains 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
"""Tests for `notebookc` package.""" | |
import pytest | |
from notebookc import notebookc | |
def test_convert(capsys): | |
"""Correct my_name argument prints""" | |
notebookc.convert("Jill") | |
captured = capsys.readouterr() | |
assert "Jall" in captured.out |
This file contains 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> |
This file contains 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: my-deployment | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
app: my-app | |
template: |
This file contains 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
apiVersion: apps/v1 # Deployments get an "apps/v1" - no longer in beta. | |
kind: Deployment # kind is for the type of resource. | |
metadata: # metadata provides information about the resource. | |
name: my-deployment # We name our Deployment my-deployment. | |
#This is the value at metadata.name. | |
spec: | |
replicas: 3 # Specify we want 3 Pods in our ReplicaSet. | |
selector: | |
matchLabels: # spec.selector.matchLabels tells the Deployment | |
app: my-app # to match Pods with a key - value label pair |
OlderNewer