Watch me speed pass opengl freeglut for water homework!

Reference Video Basics of Computer Graphics – Implementation of OpenGL_bilibili_bilibiliT Graphics drawing Point GL_POINTS #define FREEGLUT_STATIC // Define a static library for calling functions #include <GL/freeglut.h> // Include the header file void myPoints() { //show three points in screen glClear(GL_COLOR_BUFFER_BIT); glPointSize(3); glBegin(GL_POINTS); //show what to draw,here we draw points glColor3f(1.0, 0.0, 0.0); //color:red glVertex2i(-3, 3);//coordinate […]

Blood glucose data, new data is fitted to old data

Perform linear regression on data and polynomial model training Linear regression training # -*- coding: utf-8 -*- from sklearn.ensemble import BaggingRegressor from sklearn.tree import ExtraTreeRegressor from sklearn.linear_model import LinearRegression from sklearn.tree import DecisionTreeRegressor from sklearn.svm import SVR import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from ydata_profiling import ProfileReport import matplotlib.pyplot […]

Method and implementation of monitoring system for mass storage system based on GlusterFS

Table of contents 1 Introduction 1 1.1 Research background and significance 1 1.2 Introduction to GlusterFS 1 1.3 Principles and characteristics of GlusterFS 2 1.4 Objective 2 of this topic 2 Mass storage service 3 2.1 Overall architecture of mass storage service 3 2.2 Deployment environment 4 2.3 Integration of monitoring system and storage system […]

[R Language] Perfectly solves the problem of devtools failing to install GitHub packages (taking gwasglue as an example)

Rstudio, R4.3.1, the command is run in the command line of Rstudio, that is, the console. Article directory 1. Restatement of the problem 2. Analysis 3. Solve 4. Installation example: gwasglue 1. Restatement of the problem Use devtools to install a github package. devtools: devtools is a very useful package in the R language. It […]

AWS Glue batch syncs OpenSearch data into Redshift

1. Goal Use Glue to synchronize AWS OpenSearch data to Redshift. 2. Load test data AOS creates the index and writes: curl -X POST -u ‘xx:xxx’ ‘https://vpc-knn-4r272pshdggabtlhihabz7clba.ap-northeast-1.es.amazonaws.com/dot_common/_doc’ \ -H ‘Content-Type:application/json’ \ -d ‘{ “accs_time”: “1687883837862”, “brower”: “”, “brower_version”: “”, “carrier”: “TELKOMSEL”, “city”: “”, “country”: “ID”, “countryCode”: “ID”, “ctime”: 1687883840795, “event”: “google-login”, “ip”: “192.168.1.6”, “latitude”: “”, […]

Build a streamlined version of the FreeGLUT library (use MinGW + VSCode + CMake gui to build the FreeGLUT library)

Build the FreeGLUT library using MinGW + VSCode + CMake gui Prerequisites Download MinGW Download VSCode Download CMake gui DownloadFreeGLUT Configuration process test Use MinGW + VSCode + CMake gui to build the FreeGLUT library Prerequisite Download MinGW Download address: MinGW Detailed download tutorials can be found online Download VSCode Download address: VSCode After the […]

ProtTrans-Glutar: Integrating features from Pre-trained Transformer-Based Models for predicting glutamylation sites [Frontiers in Genetics, 2022]

Research Background: The PTM (post-translational modification) of amino acids can change the function of the protein. The lysine glutamylation modification (lysine glutarylation) refers to the connection of glutamyl groups to lysine residues. Biochemical methods such as blotting and mass spectrometry were used for identification. Lysine glutamylation may be a molecular marker of aging and cellular […]

[AutoGluon_02] Better accuracy and feature importance

[AutoGluon_02] Better accuracy and feature importance 1. Optimized and improved version of autogluon 2. Quick use 3. Model training 4. Higher output accuracy 5. Model Evaluation (1) Model leaderboard (2) Output the importance of each feature (3) Model performance visualization 6. Output the final model 7. Forecast In addition to the most basic model of […]

AutoGluon_01Installation and examples of automatic machine learning framework

Article directory 1. Installation 2. Example 1 AutoGluon predicts target data 1. Import data 2. Training 3. Forecast 4. Evaluation 5. Summary 3. Example 2 AutoGluon Multimodal Prediction (Multimodal Prediction) 1. Import data 2. Training 3. Forecast 4. Evaluation 4. Example 3 Multimodal automatic processing of text and time data 5. Example 4 AutoGluon for […]