Functions#
Summary#
function |
class parent |
truncated documentation |
---|---|---|
Compute the AUC. |
||
Compute the AUC. |
||
Compute the AUC. |
||
Extends a set of edges to have less extermities into the graph composed by the sets of edges. |
||
Returns a default username. |
||
Removes an edge from the graph. |
||
Enumerates close streets from a starting point. |
||
Computes an Eulerian path. |
||
Explores an Eulerian path, remove used edges from edges_from. |
||
does nothing |
||
After aggregation, it usually happens that the series is sparse. This function adds rows for missing time. |
||
Retrieves |
||
Any zip. |
||
On veut apparier les événemens -1 aux événemens +1. On s’attend aux colonnes suivantes: “file”, “collect_date”, … |
||
Computes shortest distances between all vertices. It assumes edges are symmetric. |
||
Retrieves |
||
Computes the final solution for the Eulerian path. |
||
Returns vertices and edges based on the subset of edges. |
||
A memoize decorator for class properties. |
||
Changes the encoding of a text file and removes quotes. By default process is |
||
Changes the encoding of a text file, removes quotes. By default process is |
||
Checks the library is working. It raises an exception. |
||
Removes quotes in a line which looks like: |
||
Cleans cells when unittesting notebooks. |
||
Compute the degree of vertices. |
||
Tells if streets st1, st2 are connected. |
||
Converts a string into a date. |
||
Converts all medical images in a folder from format dcm to png. |
||
Converts all medical images in a folder from format dcm to png. |
||
Reads an encrypted dataframe. |
||
Writes a table into RST or HTML format. |
||
Makes a cross join (cartesian product) between two dataframes by using a constant temporary key. Also sets a MultiIndex … |
||
Returns the best path between two vertices. Uses Dikjstra … |
||
Calcule une distance pour un appariement conçu ici comme la variance de la vitesse de chaque déplacement + la somme … |
||
Calcule la vitesse moyenne lorsque le chemin est connu. |
||
Checks if a solution is really a solution and returns the distance of it, None if it is not a solution. The function … |
||
Computes the length of edges if distances is None. |
||
Encrypts a file with a specific password. |
||
Enumerates all batches saved in a folder. |
||
Construit la liste des événements (vélo réposé ou retiré). |
||
Lists all images in one folder assuming subfolders indicates the class of each image belongs to. |
||
Enumerates items from a JSON file or string. |
||
Enumerates all lines from a text file and does some cleaning (see the list of parameters). |
||
Computes an Eulerian path. |
||
Executes a list of notebooks. |
||
Extract the first results from a search page assuming it comes from Bing Image. |
||
Extracts fields from a JSON files such as images. |
||
Splits images from a folder into train and test. The function saves images into two separate folders. |
||
Returns a folium map which shows stations in different colors. |
||
Returns a folium map which represents the streets. |
||
Returns a list of paths to add before running the notebooks, paths to pyquickhelper, pyensae. |
||
Retrieves processed data from Divvy Data. |
||
Récupère les données. |
||
Retrieves a dataframe which describes the meaning of the metadata. |
||
Returns the maximal value by which we can improve the dual solution by adjusting charges on alternating trees. |
||
Retrieves data related to the meaning of a table. |
||
Retrieves a password with keyring. |
||
Retrieves a password assocatied to key. Relies on module keyring. |
||
Gets the password from keyring first, then from the environment variables. … |
||
Retrieves processed data from Seattle Streets. … |
||
Computes Haversine formula. |
||
Computes the distribution of images size. |
||
Resizes an image (from PIL). |
||
Converts an image (PIL) to gray scale. |
||
Returns the last element of sequence assuming they were generated by an iterator or a generator. |
||
Loads a batch file saved by |
||
Lists the notebooks in a particular subfolder. |
||
Implements |
||
adapt the tempate available at evaluate.py … |
||
adapt the tempate available at evaluate.py … |
||
Finds the best match between vertices. |
||
Merges schemas of various databases. |
||
Plots a gallery of images using matplotlib. Extracts a random sample from a folder which contains many images. … |
||
Plots the network based on cartopy. |
||
Returns the default projection for |
||
Prepares the data for the challenge. |
||
Wraps the function following the guidelines User_Building a Scoring Program for a Competition. … |
||
Wraps the function following the guidelines User_Building a Scoring Program for a Competition. … |
||
Processes the database sent by cresus and produces a list of flat files. |
||
Processes the database from Cresus until it splits the data into two two sets of files. |
||
Returns the search page from Bing Image for a specific query. |
||
Generates random answers the deep learning challenge of hackathons Hackathon ENSAE / Statup / Cap Gemini - 2020/2021. |
||
Generates random answers the machine learning challenge of hackathons Hackathon ENSAE / Statup / Cap Gemini - 2020/2021. |
||
Reads an image. |
||
|
||
Resizes an image until one of its dimension becomes smaller than maxdim after dividing the dimensions by two many … |
||
Scores the predictions for images. |
||
Defines a REST application. It returns a list of neighbors among a small set of images representing dogs … |
||
Returns a graph of streets. |
||
Returns a small graph of streets. |
||
Returns a small graph of streets. |
||
Returns a small graph of streets. |
||
Stores a password with keyring. |
||
Stores a password assocatied to key. Relies on module keyring. |
||
Uses pyshp to return shapes and records from shapefiles. |
||
Splits XY for the blind set. |
||
Splits the tables into two sets for tables (based on users). |
||
Applies a transform on every image in a folder, saves it in another one. It keeps the same subfolders. |
||
Copies all images from src_folder to dest_folder if valid(name) is True. |
||
Downloads images based on their urls. |
||
Considers all images in a folder, transform them into features (function transform) and saves them with pickle … |
||
Extracts a random sample from a folder which contains many images. Relies on fonction |
||
|
||
Calcule la vitesse d’un déplacement. |