Vertical Federated Principal Component Analysis and Its Kernel Extension on Feature-wise Distributed Data

This is the official source code for the Paper: Vertical Federated Principal Component Analysis and Its Kernel Extension on Feature-wise Distributed Data based on Pytorch Framework. Despite enormous research interest and rapid application of federated learning (FL) to various areas, existing studies mostly focus on supervised federated learning under the horizontally partitioned local dataset setting. This paper will study the unsupervised FL under the vertically partitioned dataset setting. Server-Clients Architecture Figure 1.: Server-Clients Architecture Master Branch

Read more

Using plt.scatter() to Visualize Data in Python

An important part of working with data is being able to visualize it. Python has several third-party modules you can use for data visualization. One of the most popular modules is Matplotlib and its submodule pyplot, often referred to using the alias plt. Matplotlib provides a very versatile tool called plt.scatter() that allows you to create both basic and more complex scatter plots. In this course, you’ll learn how to: Create a scatter plot using plt.scatter() Use the required and […]

Read more

A Quiz with different topics with python

QuizGame is a quiz with different topics. You can choose a topic and take the quiz. In the end you will get your result. The program is under active development, so there may be errors or flaws in it. To install the latest version of the program, enter the following commands: git clone https://github.com/GrobranGG/QuizGame-python cd QuizGame-python pip install -r requirements.txt python main.py At the moment, the project has version 1.0. You can download the latest version on the repository. This […]

Read more

A python tool for speculation of ancestral allel, calculation of sfs and drawing its bar plot

This is a tool for speculation of ancestral allel, calculation of sfs and drawing its bar plot. It is easy-to-use and runing fast. What you should prepare is the phased vcf file containg the data of populations you intrested and the outgroup, the outgroup name file, and the annotation file. Enjoy it!!! It has four models: 0:Using all function, from original vcf data to sfs barplot    

Read more

A python package that fetches tweets and user information in a very pythonic manner

Tweetsy uses Twitter’s underlying API to fetch user information and tweets and present it in a human-friendly way. What makes Tweetsy special is that everything is an object here. So it makes it very easier for the end users to store the data however they want, i.e. CSV, HTML or even in cloud database. This will become more clear in the following sections. Getting user data This package was originally designed to get user information (i.e. name, number of follower, […]

Read more

Python to scrape overview and reviews of companies from Glassdoor

Data Scraping for Glassdoor This is python to scrape overview and reviews of companies from Glassdoor. Please use it carefully and follow the Terms of Service that explicitly prohibits web scraping. Built With Getting Started Download the SeleniumGlassdor.py file. Change the path of the chromedriver on your machine. Use your own file that contain the lists of the companies glassdoor url. The company url csv file is also attached here. The way to generate the file is also based on […]

Read more

Pre-1.0 door/chest sound injector for Minecraft

Pre-1.0 door/chest sound injector for Minecraft. While the game is running, doorjector hotswaps the new sounds for the old right before the sounds become cached, allowing the injected SFX to bypass Mojang server authentication. You need to execute the script while on the dirt splash screen, before going into a game. Injecting during active playthrough causes the cache to randomize the sounds, and it’s really just not an enjoyable experience for anyone involved. Injected SFX only work in their active […]

Read more
1 393 394 395 396 397 943