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 fairml import audit_model | |
| from fairml import plot_dependencies | |
| from sklearn.linear_model import LogisticRegression | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import seaborn as sns | |
| import pandas as pd | |
| propublica_data = pd.read_csv("./propublica_data_for_fairml.csv") |
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 string | |
| import random | |
| import matplotlib.pyplot as plt | |
| target = 'METHINKS IT IS LIKE A WEASEL' | |
| letters = string.ascii_uppercase | |
| letters = list(letters) | |
| letters.append(' ') | |
| def retornar_copia(setenca): | |
| return setenca[:] | |
| def mutacao(letter): |
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
| #Imports | |
| import os | |
| from argparse import ArgumentParser | |
| from skimage.segmentation import slic | |
| from skimage import data, io, segmentation, color | |
| from skimage.future import graph | |
| import numpy as np | |
| #Arguments | |
| parser = ArgumentParser() |
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
| float inserir(FUNCIONARIO* func, float salariotot) | |
| { | |
| int numL=0, tmp_len=0; | |
| float tmp_sal; | |
| char tmp_str[50]; | |
| printf("\n" ); | |
| printf("%d\n", num_funcionarios); | |
| printf("Deseja cadastrar quantos funcionarios?\n"); | |
| scanf("%d", &numL); |