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
#!/bin/bash | |
# Checkout main branch quietly | |
git checkout -q main | |
# Fetch the latest changes from the remote and prune deleted branches | |
git fetch --prune | |
# Function to delete a branch with confirmation | |
delete_branch() { |
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 numpy as np | |
from sklearn.datasets import make_classification | |
from sklearn.model_selection import train_test_split | |
from concrete.ml.sklearn import SGDClassifier | |
from concrete import fhe | |
# Generate synthetic dataset for classification | |
X, y = make_classification(n_samples=1000, n_features=20, n_classes=2, random_state=42) | |
# Split the dataset into training and testing sets |