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 numpy as np | |
import pandas as pd | |
def calcul_chute_tension( | |
Ib=1, S=1.5, Un=400, L=0.1, metal="cuivre", phi=np.arccos(0.85) | |
): | |
Ib = np.asarray(Ib) | |
S = np.asarray(S) |
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 sklearn.datasets import fetch_openml | |
usps = fetch_openml(data_id=41082) | |
# %% | |
data = usps.data | |
target = usps.target | |
# %% |
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
# %% | |
# Download the original dataset to be able to easily build an index with the | |
# original datetime. | |
# The dataset is available at: | |
# https://archive.ics.uci.edu/ml/machine-learning-databases/00275/Bike-Sharing-Dataset.zip | |
import pandas as pd | |
df_external = pd.read_csv( | |
"~/Downloads/Bike-Sharing-Dataset/hour.csv", | |
index_col=0, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer