Ograniczanie wyników
Czasopisma help
Autorzy help
Lata help
Preferencje help
Widoczny [Schowaj] Abstrakt
Liczba wyników

Znaleziono wyników: 55

Liczba wyników na stronie
first rewind previous Strona / 3 next fast forward last
Wyniki wyszukiwania
Wyszukiwano:
w słowach kluczowych:  Python
help Sortuj według:

help Ogranicz wyniki do:
first rewind previous Strona / 3 next fast forward last
EN
The work concerns the selection of the programming language and environment for the needs of neural modeling of the power and electricity demand generation system in terms of uninhabited factories. Therefore, the main goal of the conducted research is to obtain the best possible Artificial Neural Network, i.e. to teach it a model of a real system, which is a system for generating demand for power and electricity based on numerical data on parts of the power system operation in terms of uninhabited factories. The learning capabilities of artificial neural networks were checked by comparing the MSE error and the Regression Index R2. In each of the examined programming languages and related programming environments, i.e. Matlab, Python and Wolfram, an Artificial Neural Network with the same structure and properties was designed and implemented, i.e. with the same number of input and output neurons, the number of hidden layers and the number of neurons in them, the activation function of neurons and the learning method. In addition to the ANN training of the system model, testing and validation as well as comparative studies were carried out.
PL
Niniejszy artykuł przedstawia numeryczne rozwiązania wybranych modeli rozprzestrzeniania się epidemii w języku programowania Python. Rozwiązania oparto na modelach epidemii SIS, SIR, SIRS oraz SEIR. Do rozwiązań numerycznych w języku Python wykorzystano biblioteki NumPy, SciPy oraz Matplotlib.
EN
This article presents numerical solutions of selected epidemic spread models in the Python programming language. The solutions were base on the SIS, SIR, SIRS and SEIR epidemic models. NumPy, SciPy and Matplotlib libraries were used for numerical solutions in Python.
EN
The use of wireless technology in the field of instrumentation is rapidly expanding due to many reasons such as lower installation and commissioning cost than those incurred by wired technologies and a higher level of security provided by authenticated encrypted data transaction, in addition to a decreased level of system complicity, manifested in eliminating or limiting the need for cabling or its accessories. This article will discuss a proposed technique to perform authenticated wireless WiFi data transmission from multiple sensors to the control station depending on a laboratory stand for the purpose of analysing the principle of coexistence between wireless technologies dedicated to industrial automation, such as wireless HART, and general purpose technologies, such as WiFi and Bluetooth Low Energy BLE.
EN
The article presents issues related to the possibility of using an artificial neural network to classify factors describing the lightning hazard. It also analyzed the selection of the most optimal type of neural network for this type of task, as well asthe issue of input data, which both teach the neural network and form the basis for the final classification. Finally, the conclusions and assumptions necessary for the practical implementation of the task were drawn. The practical part of the task is planned as the following consideration stage.
PL
W artykule została przedstawiona problematyka związana z możliwością wykorzystania sztucznej sieci neuronowej do przeprowadzenia klasyfikacji współczynników opisujących zagrożenie piorunowe. Przeanalizowano wybór najbardziej optymalnego rodzaju sieci neuronowej dla tego rodzaju zadania, a także kwestię danych wejściowych, które posłużą zarówno do uczenia sieci neuronowej, jak również stanowią podstawę do końcowej klasyfikacji. Na koniec wyciągnięte zostały wnioski oraz założenia niezbędne do praktycznej realizacji zadania. Praktyczna część zadania będzie stanowić kolejny etap rozważań.
PL
Artykuł dotyczy analizy porównawczej szybkości wykonywania kodu przez język C oraz Python. Jej podstawowym celem nie było szukanie prostej odpowiedzi na pytanie, który z języków będzie wydajniejszy, tylko jaka jest skala różnic w wydajności tych języków. W celu określenia wydajności języka kompilowanego oraz skryptowego dokonano zestawienia języków na przykładzie następujących algorytmów: algorytm rozwiązujący problem wieży Hanoi, algorytm kodowania Huffmana oraz algorytm zamiany liczb na tekst. Każdy z wymienionych algorytmów został zaimplementowany w obydwu językach. Następnie dokonano pomiaru czasu realizacji programów, którego wyniki pozwoliły na określenie skali różnic w szybkości ich wykonania. W języku C aplikacje wykonywałysię od 6 do 188 razy szybciej niż aplikacje w języku Python
EN
The article deals with a comparative analysis of the speed of code execution written in the C language and Python. In order to determine whether a scripting language can match the performance of a compiled language, a comparison of the languages was made using the following algorithms: the algorithm for solving the Hanoi tower problem, the Huffman encoding algorithm and the algorithm for converting numbers into text. Each of the listed algorithms was implemented in both languages. Then the execution time of the programs was measured and the results were obtained, which prove that the C language achieves better performance in most cases.
PL
Artykuł przedstawia analizę porównawczą dwóch aplikacji webowych napisanych w językach: PHP oraz Python. Stworzono aplikacje testowe, które zostały wyposażone w tą samą funkcjonalność wykorzystaną w badaniach polegających na pomiarze czasów odpowiedzi serwera na żądania typu INSERT, SELECT, UPDATE i DELETE –obsługujące operacje na bazie danych. Celem badań było porównanie obydwu języków pod względem wybranych kryteriów. Porównywano ich wydajność, objętość kodu źródłowego oraz popularność
EN
This article presents a comparative analysis of two web applications implemented in PHP and Python. Test applications were created and equipped with the same functionality used in tests consisting in measuring the server response times to INSERT, SELECT, UPDATE and DELETE requests - handling database operations. The purpose of the research was to compare both languages in terms of selected criteria. Their performance, source code volume and popularity were compared.
EN
The article deals with the problems of increasing the efficiency of enterprises and developing a system for assessing the rating of employeesof an enterprise. Aspects of motivation for compliance with standards by employees and structural divisions are also considered; they were studied because employees are the main driving force of any enterprise. In order to properly evaluate it, many companies need rating systems. In this article,the authors conducted a study and developed a software package for assessing employees of an enterprise. This article describes howto develop a ranking prediction system. MongoDB is used as a database, as the fastest way to innovate, providing the flexibility and ease of use of a database.
PL
Artykuł dotyczy problemów zwiększania efektywności przedsiębiorstw i opracowania systemu oceny pracowników przedsiębiorstwa.Uwzględniono także aspekty motywacji do przestrzegania standardów przez pracowników i działy organizacyjne; zostały one zbadane, ponieważ pracownicy są główną siłą napędową każdego przedsiębiorstwa. Aby właściwie jąocenić, wiele firm potrzebuje systemów oceny. W tym artykule autorzy przeprowadzili badanie i opracowali pakiet oprogramowania do oceny pracowników przedsiębiorstwa.W tym artykule opisano, jak opracować system przewidywania rankingu. MongoDB jest używanyjako baza danych, jako najszybszy sposób na wprowadzanie innowacji, zapewniając elastyczność i łatwość użytkowania bazy danych.
EN
SFMToolbox is an ArcGIS Python toolbox developed in ArcGIS Desktop (ArcMap) to perform preprocessing tasks for the automatic creation of maps of soil fertility parameters. Through SFMToolbox, users can automatically produce 12 soil fertility parameter maps as a batch at one time. It is easy to use, where users can only provide input; the output files are automatically created from the name of the sample point and saved in the defined workspace. During the execution of the tools, various processes, such as Inverse Distance Weighted (IDW) – a technique of interpolation, reclassification, adding color, merging, projection, area calculation, and legend are done automatically for all 12 parameters at the same time. The SFMToolbox was validated as part of the following case study: village – Kashipur, tehsil – Balrampur, district – Balrampur, state – Uttar Pradesh, Country – India. The results show that the user can quickly generate maps and save time, improve accuracy, and reduce human intervention and ensure uniformity among maps. This toolbox also applied to Cycle II data from the Government of India’s Soil Health Card (SHC) scheme and timely produced 12-parameters soil nutrient maps for 630 districts in a uniform format. The toolbox may be used by public and private organizations to make timely decisions on agricultural and environmental issues.
EN
Sinara is a modular, open-source measurement and control hardware ecosystem designed for beam-steering and quantum information processing applications that require deterministic high-precision timing. The Sinara system is based on industrial standards and comprises over 70 digital and analog input and output modules. The hardware is controlled and managed by ARTIQ, an open-source software system for experimental control that provides nanosecond timing resolution and sub-microsecond latency via a high-level programming language.
PL
Sinara to modułowa, typu „open-source”, platforma sprzętowo-programistyczna do pomiarów i kontroli, zaprojektowana dla zastosowań w akceleratorach cząstek i przetwarzaniu informacji kwantowej, które wymagają deterministycznego, precyzyjnego timingu. System Sinara opiera się na standardach przemysłowych i składa się z ponad 70 modułów cyfrowych i analogowych wejść i wyjść. Sprzęt jest kontrolowany i zarządzany przez ARTIQ, open-source’owe oprogramowanie do kontroli eksperymentów, które zapewnia rozdzielczość timingu na poziomie nanosekund i latencję w sub-mikrosekundach za pośrednictwem języka programowania wysokiego poziomu.
PL
W artykule zaprezentowano efekty działania metody identyfikacji osób bazującą na obrazie twarzy zaimplementowanej na platfor mach mobilnych. Zaprojektowano skrypt w języku Python, który następnie zoptymalizowano do użytku z urządzeniami mobilnymi o ograniczonej mocy obliczeniowej. Następnie przedstawiono pro ces tworzenia autorskiej bazy uczącej i testowej wykorzystywanej do wytrenowania oraz zbadania jakości działania opracowanego algorytmu. W ramach podsumowania zestawiono uzyskane wyniki oraz opisano możliwości rozwojowe opracowanego stanowiska projektowego.
EN
The publication describes image processing algorithms and the influence of neural networks on their development. As part of the thesis, an in-house method for identifying people based on facial images was developed. A Python script was designed, which was then optimised for use with mobile devices with limited computing power. The process of creating the author’s learning and test base used to train and test the performance of the developed algorithm is then presented. As a conclusion, the results obtained are summarised and the development possibilities of the design bench are described (Mobile face image identification).
EN
ARTIQ is a real-time control system designed to address complex challenges in quantum computing, specifically for ion-trapping experiments. It ensures precise timing and synchronization for different experimental setups, offering a timing precision at the nanosecond level. ARTIQ, open-source in nature, promotes transparency, reproducibility, and allows for the creation of customizations and extensions. It is developed globally by a community of scientists and engineers. ARTIQ’s versatility extends to communication with external laboratory equipment and integrates instructions into the experiment code. It also provides scalable solutions, such as the Distributed Real-Time I/O (DRTIO) that allows connection and control over many controllers. An essential feature of ARTIQ is its Python-based Domain Specific Language (DSL) that allows expressing experiment design in a commonly known programming language. ARTIQ, therefore, provides a flexible and scalable platform for quantum experiments.
PL
ARTIQ jest systemem sterowania w czasie rzeczywistym zaprojektowanym specjalnie w celu sprostania potrzebom eksperymentów fizyki kwantowej, szczególnie tych wykorzystujących pułapki jonowe. Zapewnia precyzyjną synchronizację układów eksperymentalnych, oferując precyzję czasu wykonania zdarzeń na poziomie nanosekund. ARTIQ, będący oprogramowaniem otwartoźródłowym, promuje przejrzystość, reprodukowalność i umożliwia tworzenie specjalizowanych modyfikacji i rozszerzeń. Jest on rozwijany przez społeczność naukowców i inżynierów z całego świata. ARTIQ oferuje integrację zewnętrznego sprzętu laboratoryjnego z kodem eksperymentu. Zapewnia również skalowalne rozwiązania, umożliwiające łączenie i programowanie wielu kontrolerów. Istotną cechą ARTIQ jest oparty na języku Python Domain-Specific Language (DSL), który ułatwia projektowanie eksperymentów pozwalając na opisywanie ich za pomocą powszechnie znanego języka programowania. Podsumowując, ARTIQ zapewnia elastyczną i skalowalną platformę dla eksperymentów kwantowych.
EN
This paper presents one of the environmental problems occurring during underground mine closures: according to the underground coal mine closure programme in Germany, the behaviour of the land surface caused by flooding of the entire planned mining area – the Ruhr District – had to be addressed. It was highlighted that water drainage would need to be continuous; otherwise, water levels would rise again in the mining areas, resulting in flooding of currently highly urbanised zones. Based on the variant analysis, it was concluded that the expected uniform ground movements caused by the planned rise in the mining water levels (comprising a part of two concepts – flooding up to the level of –500 m a.s.l. and −600 m a.s.l.), in the RAG Aktiengesellschaft mines, will not result in new mining damage to traditional buildings. The analysis included calculations of the maximum land surface uplift and the most unfavourable deformation factor values on the land surface, important from the point of view of buildings and structures: tilt T, compressive strain ε– and tensile strain ε+. The impact of flooding on potential, discontinuous land surface deformation was also analysed.
PL
W pracy przedstawiono opracowanie prototypu aplikacji umożliwiającej przegląd i przetwarzanie trójwymiarowych (3D) obrazów medycznych. Aplikacja umożliwia płynne wyświetlanie przekrojów 2D obiektu wzdłuż każdej z osi (x,y,z) oraz za pomocą algorytmu renderingu wolumetrycznego pozwala na wyświetlenie obiektu w 3D. Dodatkowo poprzez wykorzystanie efektu odbicia na ścianach bryły o kształcie ściętego ostrosłupa aplikacja umożliwia uzyskanie obrazu 3D, jako wizualizacji przestrzennej. Praca zawiera dokładny opis algorytmu generującego tekstury 2D i 3D pozwalające na wyświetlenie obiektu, omówienie funkcjonalności wraz z instrukcją użytkowania, a także na przykładzie wykorzystania zestawu deweloperskiego Jetson Nano 2GB propozycję konfiguracji zestawu prototypowego do wyświetlania obrazów medycznych. W podsumowaniu pracy omówiono pomysł wykorzystania aplikacji w celach edukacyjnych oraz możliwości dalszego jej rozwoju.
EN
The article presents the development of a prototype of an application enabling the review and processing of medical images. The application enables the smooth display of 2D sections of an object along each axis (x, y, z) and, using the volumetric rendering algorithm, it enables the object to be displayed in 3D. In addition, by using the reflection effect on the walls of a solid in the shape of a truncated pyramid, the application allows you to obtain a 3D image as a 3D visualization. The work contains a detailed description of the algorithm that generates 2D and 3D textures that allow displaying the object, discusses the functionality with the instructions for use, and uses the Jetson Nano 2GB development kit as an example, a proposal to configure a prototype set for displaying medical images. The summary of the work presents the idea of using the application for educational purposes and the possibility of its further development.
14
Content available Code refactoring : a Python example
EN
In this paper, several refactoring techniques are shown, using an example in which the design of a program for solving a simple problem is gradually improved. Before introducing any change to the program, the drawbacks of its current version are discussed, bad code smells are identified, and some unit tests are provided. The source code is written in Python.
EN
In this paper it has been assumed that the use of artificial intelligence algorithms to predict the level of air quality gives good results. Our goal was to perform a comparative analysis of machine learning algorithms based on an air pollution prediction model. By repeatedly performing tests on a number of models, it was possible to establish both the positive and negative influence of the parameters on the result generated by the ANN model. The research was based on some selected both current and historical data of the air pollution concentration altitude and weather data. The research was carried out with the help of the Python 3 programming language, along with the necessary libraries such as TensorFlow and Jupyter Notebook. The analysis of the results showed that the optimal solution was to use the Long Stort Term Memory LSTM algorithm in smog prediction. It is a recursive model of an artificial neural network that is ideally suited for prediction tasks. Further research on the models may develop in various directions, ranging from increasing the number of trials which would be linked to more reliable data, ending with increasing the number of types of algorithms studied. Developing the models by testing other types of activation and optimization functions would also be able to improve the understanding of how they affect the data presented. A very interesting developmental task may be to focus on a self-learning artificial intelligence algorithm, so that the algorithm can learn on a regular basis, not only on historical data. These studies would contribute significantly to the amount of data collected, its analysis and prediction quality in the future.
EN
An open-source Python package is presented, ReMo3D, which allows the generation of synthetic normal and lateral resistivity logs for 2D and 3D models. The package is built around a finite element mesh generator Gmsh and a high-performance multiphysics finite element software Netgen/NGSolve and supports distributed-memory parallel computation. The examples included in the paper show that the developed software can accurately simulate the measurement process and produce detailed synthetic normal and lateral resistivity logs. In addition, basic information about normal and lateral tools such as tool configurations, measurement principles, nomenclature and a brief history of utilization is included in the paper.
PL
W artykule opisano krótko architekturę oraz zasadę działania sieci neuronowych. Omówiono również szczegóły związane z programowaniem sieci neuronowych z wykorzystaniem języka Python oraz wybranych frameworków wspierających głębokie uczenie i projektowanie algorytmów AI. W dalszej części artykułu omówiony zostały proces wdrażania gotowego, wytrenowanego modelu sieci neutronowej w środowisku produkcyjnym aplikacji webowej, w której komunikacja z modelem sieci neuronowej przebiega zgodnie ze schematem Klient-Serwer. Wyjaśniona została idea tworzenia interfejsu API oraz ograniczenia architektoniczne specyfikacji REST-API. W ostatnim podrozdziale omówiono proces konteneryzacji modułu sieci neuronowej do postaci samodzielnej z wykorzystaniem środowisk Docker i Docker Compose.
EN
The article briefly describes the architecture and principle of operation of neural networks. Details related to programming neural networks using Python and selected frameworks supporting deep learning and designing AI algorithms were also discussed. The next part of the article discusses the process of implementing a ready, trained neural network model in the production environment of a web application, in which communication with the neural network model follows the Client-Server scheme. The idea of creating an API interface and the architectural limitations of the REST-API specification were explained. The last section discuss- es the process of containerization of a neural network module into a stand-alone form using the Docker and Docker Compose environments.
EN
The main aim of this contribution is to combine a Python-supported analysis of X-ray microtomography (µCT) images and the transmitted-light microscopy to resolve the factors controlling the variability of petrophysical parameters in carbonate rocks. A self-developed Python script for the evaluation of pore connectivity and the computation of pore sizes based on µCT data was prepared. The script was launched on a carbonate sample with drawn from a drill core representing the Late Permian Zechstein Limestone (Ca1) formation from the Wolsztyn Ridge area in West Poland. The sample was taken from the upper part of the isolated Kokorzyn Reef, corresponding to a brachiopod and bivalve-rich zone. The plug had a cylindrical shape, the diameter of 2.54 cm and the height of approximately 4.6cm. The entire volume of the plug was scanned using a GE Nanotom Sdevice. The 3D-reconstructeddatasetobtainedwith spatial resolution of 0.02 mm underwent cropping, contrast adjustment, noise reduction and porosity extraction using open-source Fiji software. The binarized porosity image was loaded into the Python script. Python scripting was found efficient in carbonate pore system examination. The code first extracted the connected pore system of the largest volume and computed the smallest distances between porosity voxels and corresponding pore walls. The obtained results were confronted with the spatially-adjusted microphotographs taken in plane-polarized transmitted light. The results have shown that narrow and isolated pores occurred within the spines of brachiopods. The largest voids were found inside the brachiopod shells. Moreover, many pores were associated with partially dissolved fragments of bivalves. Porosity reduction was -most outlined in the zones showing the scarcity of fossils.
19
Content available remote Przykład zastosowania steganografii dla dwuwymiarowych obrazów cyfrowych
PL
W artykule przedstawiono wykorzystanie klasycznego algorytmu steganograficznego opierającego się na metodzie najmniej znaczących bitów (ang. Least Significant Bit) w szyfrowaniu obrazów, która polega na ukrywaniu informacji w najmniej znaczących bitach dla każdego z trzech kolorów modelu RGB opisujących dany piksel. Wyjaśniony został sposób reprezentacji obrazu oraz jego przetwarzania. W ocenie wydajności i jakości procesu posłużono się histogramami, wskaźnikiem jakości obrazu PSNR (ang. peak signal-to-noise ratio) i miarą podobieństwa strukturalnego SSIM (ang. structural similarity index measure) pomiędzy obrazami na różnych etapach. Wykazane zostały zmiany, które zaszły w obrazach na drodze procesu steganogracznego, a mogą być informacją dla osób wykrywających takie działania. Oceniony został stopień zachowalności i utraty danych. Na skutek przeprowadzonego procesu jakość obrazów uległa nieznacznemu pogorszeniu, co wykazały obliczone parametry.
EN
Real-time traffic monitoring and parking are very important aspects for a better social and economic system. Python-based Intelligent Parking Management System (IPMS) module using a USB camera and a canny edge detection method was developed. The current situation of real-time parking slot was simultaneously checked, both online and via a mobile application, with a message of Parking “Available” or “Not available” for 10 parking slots. In addition, at the time entering in parking module, gate open and at the time of exit parking module, the gate closes automatically using servomotor and sensors. Results are displayed in figures with the proposed method flow chart.
first rewind previous Strona / 3 next fast forward last
JavaScript jest wyłączony w Twojej przeglądarce internetowej. Włącz go, a następnie odśwież stronę, aby móc w pełni z niej korzystać.