How to decide bypass emitter resistance value?

enter image description here

This is an amplifier which has voltage gain of 50 ,quiescent current 1mA and the input is signals from 20hz to 20khz. I calculated the collector current which is 1ma ,using that I calculated emitter resistor value which is 1kohms. Now how did he decide the resistor values of emmiter as 180ohm and 820ohm when emitter resistance is 1k?

Oracle bi failed with exit value 3

I’ve installed Oracle Linux Server 7.5, then installed weblogic, infrastructure, business intelligence 12.2.1.2. I installed products based on this tutorial. Everything goes well until it comes to starting all servers.
enter image description here
there you can see installing stops. I checked the logs and saw that the server called “obips1” can not start.

Here are the logs:

Failure to start one or more ManagedServers and or Components
Failed to start one or more Servers

Status of Domain: /u01/domains/BusinessIntelligence/BI  
NodeManager (host01:9506): RUNNING        

Name            Type            Machine                   Status           
----            ----            -------                   ------           
AdminServer     Server          host01                    RUNNING          
bi_server1      Server          host01                    RUNNING          
obips1          OBIPS           host01                    SHUTDOWN         
obijh1          OBIJH           host01                    RUNNING          
obiccs1         OBICCS          host01                    RUNNING          
obisch1         OBISCH          host01                    RUNNING          
obis1           OBIS            host01                    SHUTDOWN         

Domain status; Using domainHome: /u01/domains/BusinessIntelligence/BI ...  

Initializing WebLogic Scripting Tool (WLST) ...  

Welcome to WebLogic Server Administration Scripting Shell  

Type help() for help on available commands  

       
       
       
/Servers/AdminServer/ListenPort=9500  
Accessing admin server using URL t3://host01:9500  


Status of Domain: /u01/domains/BusinessIntelligence/BI  
NodeManager (host01:9506): RUNNING  


Name            Type            Machine                   Status           
----            ----            -------                   ------           
AdminServer     Server          host01                    RUNNING          
bi_server1      Server          host01                    RUNNING          
obips1          OBIPS           host01                    SHUTDOWN         
obijh1          OBIJH           host01                    RUNNING          
obiccs1         OBICCS          host01                    RUNNING          
obisch1         OBISCH          host01                    SHUTDOWN         
obis1           OBIS            host01                    SHUTDOWN   

I really do not understand what the reason is could you please help me with this ?

I am trying to implement a neural network with bias, but I keep getting a value for each of my training…

I’m trying to implement both bias for my layers and a layer class, which, in retrospect, probably should have been attempted independently first. However, I keep getting a vector for every training example that has been fed in the network for my bias, much more than the number of values in my bias. What is the issue, and what is it’s solution?

class Dense:
    def __init__(self,units, input_size=None, activation = identity):
        self.units = units
        self.input_size = input_size
        self.H = activation

    def initialize(self):
        self.weight = np.random.randn(self.input_size,self.units)
        self.bias = np.random.randn(1,self.units)

    def __call__(self,x):
        if self.input_size == None:
            self.input_size = x.shape[1]
            self.initialize()
        self.X = x
        self.z = np.dot(x,self.weight) + self.bias
        self.a = self.H(self.z)
        # H(xW + b)
        return self.a

    def gradient(self):
        theta = H(self.z,derivative = True)
        self.dydW = np.dot(self.X.T,theta)
        self.dydb = theta

        return self.dydW,self.dydb

Problems Linking the max value of an attribute in a table to its primary Key

I need to extract the order_id with the max number of items, I’ve figured out how to extract the max value but I’m having problems linking it to the particular order_id.
PS: I’m a uni student so please go easy on me.

select MAX(f),x.order_id from (select count( distinct z.item_id) f,z.order_id as g from Order_item z ,Item i,Ordert o
where o.order_id=z.order_id
group by z.order_id)
AS T,Ordert x
having x.order_id=g;

Getting column name which have specific value for a specific row (Golang , postgresql)

Table structure and sample data–

test=# d+ test1
                                Table "public.test1"
 Column |         Type          | Modifiers | Storage  | Stats target | Description 
--------+-----------------------+-----------+----------+--------------+-------------
 a      | character varying(10) |           | extended |              | 
 b      | character varying(10) |           | extended |              | 
 c      | character varying(10) |           | extended |              | 
 d      | character varying(10) |           | extended |              | 
 e      | character varying(10) |           | extended |              | 
 date   | character varying(10) |           | extended |              | 

test=# select * from test1 ;
 a | b | c | d | e | date 
---+---+---+---+---+------
 3 | 1 | 3 | 2 | 3 | 124
 3 | 3 | 2 | 2 | 1 | 125
 1 | 2 | 2 | 1 | 3 | 126
 1 | 2 | 3 | 2 | 3 | 127
 1 | 1 | 2 | 2 | 3 | 123
(5 rows)

Desired result : column name (a,b,c,d or e) which have value ‘1’ on any specific date
(Ex- let date be ‘123’ then result should be ‘a’ , ‘b’ ).
How can I get it in Golang code and postgresql.

How to extract the value of an neighbour attribute node via XPath?

I have two different web pages and I want to extract some value using XPath.
What request can extract 2386028 form the first page and at the same time can be able to extract 4019606 form the second page? I need one request that can universally extract that values.

First page fragment:

    
  • General
  • VendorCode 2386028
  • ...
  • ...
  • ...

and second page fragment

  • General
  • Trademark Moist Diane
  • VendorCode 4019606
  • ...
  • ...