I am using ResNext architecture for classification. the training dataset contains approximately 31000 images distributed among 61 classes. And validation datase
i'm unable to import flask_sqlalchemy even after installing flask-sqlachemy from flask import Flask, render_template from flask_sqlalchemy import SQLAlchemy #
As an example, suppose there is a random forest and a logistic regression model that accept the same input data, and I want the inference result to be the avera
I am learning Pyomo Abstract Modeling from a Book. I have an example that has an objective functionEquation is here to minimize the cost of establishing a wareh
My environment is : Python 3.9.9 Pytest 6.2.5 Brownie 1.17.1 I'm working on the test_fund_me.py from Patrick Collins' Smart Contract tutorial on Youtube; at thi
Is there an implementation of the Normal-Gamma distribution for Python? I have looked over the internet, including scipy, and could not find it.
I am having trouble understanding the Initialization of classes. What's the point of them and how do we know what to include in them? Does writing in classes r
Please, I know there are several issues related to this error of mine, but I'm learning, I don't understand almost anything, so please, if it's not asking too m
I was training a network and I decided to add more data for training. my data set is selected from another data but both have (460,620,3) and Uint8 type. but wh
How could I check to see if an element is not displayed. I would think it looks something like this. if(element.is_not_displayed): doSomething() else do
Based on my question here I want to install the package investpy into pycharm with interpreter anaconda (python 3.6). For some reason the installation itself is
We have an organization level constraint file to specify what versions of python packages can be installed. This is configured in pip.conf For one of the projec
I have hard-coded the following algorithm to achieve a task I am wishing to accomplish, in this case returning 5 consecutive values at a time for each time step
Requirements.txt contains: asgiref==3.4.1 Django==3.2.9 django-isbn-field==0.5.3 mysql-connector-python mysqlclient phonenumberslite==8.12.42 Pillow==9.0.1 pyth
I'm following the book Hands-on Machichine Learning by Aurelien Geron, more specifically, where it begins to go into classifiers. I'm following the code from th
I have the following code which is written in Visual Studio Code. Now I want to run this in Azure Databricks. I have uploaded the entire folder to my Azure Blob
How can I use from scipy.stats import multivariate_normal to generate data? In specific, I want to create a GMM data that contains 3 columns (features) and a la
I just created a DLL in C with Python in it. When I export my function with python functions in it, I can't call it in my Python code But when I export a classi
I am having difficulty finding the words to describe what I am searching for but will try. I would like to solve the following using R or Python (but preferably
I am following a Django course on youtube, and I need a small change in my Django form. The form looks like: Rendering the form fields in 'edit-user.html' temp